Skip to content

Commit 36e4975

Browse files
authored
Grammer polishing (#734)
1 parent 4e80a83 commit 36e4975

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

README.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ hosts = [
9595
Spec
9696
----
9797

98-
* TOML is case sensitive.
98+
* TOML is case-sensitive.
9999
* A TOML file must be a valid UTF-8 encoded Unicode document.
100100
* Whitespace means tab (0x09) or space (0x20).
101101
* Newline means LF (0x0A) or CRLF (0x0D 0x0A).
@@ -157,7 +157,7 @@ first = "Tom" last = "Preston-Werner" # INVALID
157157
Keys
158158
----
159159

160-
A key may be either bare, quoted or dotted.
160+
A key may be either bare, quoted, or dotted.
161161

162162
**Bare keys** may only contain ASCII letters, ASCII digits, underscores, and
163163
dashes (`A-Za-z0-9_-`). Note that bare keys are allowed to be composed of only
@@ -393,7 +393,7 @@ str7 = """"This," she said, "is just a pointless statement.""""
393393
```
394394

395395
If you're a frequent specifier of Windows paths or regular expressions, then
396-
having to escape backslashes quickly becomes tedious and error prone. To help,
396+
having to escape backslashes quickly becomes tedious and error-prone. To help,
397397
TOML supports literal strings which do not allow escaping at all.
398398

399399
**Literal strings** are surrounded by single quotes. Like basic strings, they
@@ -440,8 +440,8 @@ str = ''''That,' she said, 'is still pointless.''''
440440
```
441441

442442
Control characters other than tab are not permitted in a literal string. Thus,
443-
for binary data it is recommended that you use Base64 or another suitable ASCII
444-
or UTF-8 encoding. The handling of that encoding will be application specific.
443+
for binary data, it is recommended that you use Base64 or another suitable ASCII
444+
or UTF-8 encoding. The handling of that encoding will be application-specific.
445445

446446
Integer
447447
-------
@@ -471,7 +471,7 @@ identical to an unprefixed zero.
471471

472472
Non-negative integer values may also be expressed in hexadecimal, octal, or
473473
binary. In these formats, leading `+` is not allowed and leading zeros are
474-
allowed (after the prefix). Hex values are case insensitive. Underscores are
474+
allowed (after the prefix). Hex values are case-insensitive. Underscores are
475475
allowed between digits (but not between the prefix and the value).
476476

477477
```toml
@@ -568,7 +568,7 @@ odt3 = 1979-05-27T00:32:00.999999-07:00
568568
```
569569

570570
For the sake of readability, you may replace the T delimiter between date and
571-
time with a space (as permitted by RFC 3339 section 5.6).
571+
time with a space character (as permitted by RFC 3339 section 5.6).
572572

573573
```toml
574574
odt4 = 1979-05-27 07:32:00Z
@@ -585,8 +585,8 @@ Local Date-Time
585585
If you omit the offset from an [RFC 3339](http://tools.ietf.org/html/rfc3339)
586586
formatted date-time, it will represent the given date-time without any relation
587587
to an offset or timezone. It cannot be converted to an instant in time without
588-
additional information. Conversion to an instant, if required, is implementation
589-
specific.
588+
additional information. Conversion to an instant, if required, is
589+
implementation-specific.
590590

591591
```toml
592592
ldt1 = 1979-05-27T07:32:00
@@ -721,12 +721,12 @@ how to do it for you.
721721
# [x.y.z] need these
722722
[x.y.z.w] # for this to work
723723

724-
[x] # defining a super-table afterwards is ok
724+
[x] # defining a super-table afterward is ok
725725
```
726726

727727
Empty tables are allowed and simply have no key/value pairs within them.
728728

729-
Like keys, you cannot define any table more than once. Doing so is invalid.
729+
Like keys, you cannot define a table more than once. Doing so is invalid.
730730

731731
```
732732
# DO NOT DO THIS

0 commit comments

Comments
 (0)