Skip to content

Commit

Permalink
Merge #9
Browse files Browse the repository at this point in the history
9: apostrophes, "in retrospect" r=matklad a=skierpage

> it's designed principles
> it's validity is enforced.

These aren't a contraction of "it is" or "it has", so no apostrophe.

The phrase is "obvious in retrospect", I also tweaked it to be, arguably, more idiomatic.

Co-authored-by: skierpage <info@skierpage.com>
  • Loading branch information
bors[bot] and skierpage committed Feb 16, 2020
2 parents 63cf08e + 4ba4e81 commit c67f827
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions _posts/2020-02-14-why-rust-is-loved.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ This probably was much less obvious in the 90s, when today's mainstream language
_Second_, it does not try to maintain source/semantic compatibility with any existing language.
Even if we think that const by default is a good idea, we can't employ it in TypeScript, because it needs to stay compatible with JavaScript.

_Third_, (and this is a pure speculation on my part) I feel that the initial bunch of people who designed the language and it's designed principles just had an excellent taste!
_Third_, (and this is a pure speculation on my part) I feel that the initial bunch of people who designed the language and its designed principles just had an excellent taste!

So, to the list of adorable things!

Expand Down Expand Up @@ -267,10 +267,10 @@ struct Point {

== Strings

This is again an obvious in retrospective thing.
Another obvious in retrospect thing.

Strings are represented as utf-8 byte buffers.
The encoding is fixed, can't be changed, and it's validity is enforced.
The encoding is fixed, can't be changed, and its validity is enforced.
There's no random access to "characters", but you can slice string with a byte index, provided that it doesn't fall in the middle of a multi-byte character.

== assert!
Expand Down

0 comments on commit c67f827

Please sign in to comment.