Skip to content

Commit a0dcd53

Browse files
authored
Minor editing for some docs (#646)
1 parent 324ab31 commit a0dcd53

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

pages/docs/manual/latest/primitive-types.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ See the familiar `Js.String` API in the [API docs](api/js/string). Since a ReScr
9191

9292
### Tips & Tricks
9393

94-
**You have a good type system now**! In an untyped language, you'd often overload the meaning of string by using it as:
94+
**You have a good type system now!** In an untyped language, you'd often overload the meaning of string by using it as:
9595

9696
- a unique id: `var BLUE_COLOR = "blue"`
9797
- an identifier into a data structure: `var BLUE = "blue" var RED = "red" var colors = [BLUE, RED]`
@@ -145,7 +145,7 @@ A ReScript boolean has the type `bool` and can be either `true` or `false`. Comm
145145
- `||`: logical or.
146146
- `!`: logical not.
147147
- `<=`, `>=`, `<`, `>`
148-
- `==`: structural equal, compares data structures deeply: `(1, 2) == (1, 2)` is `true`. Convenient, but use with caution.
148+
- `==`: structural equal, compares data structures deeply. `(1, 2) == (1, 2)` is `true`. Convenient, but use with caution.
149149
- `===`: referential equal, compares shallowly. `(1, 2) === (1, 2)` is `false`. `let myTuple = (1, 2); myTuple === myTuple` is `true`.
150150
- `!=`: structural unequal.
151151
- `!==`: referential unequal.

pages/docs/manual/latest/type.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ var buddy = [10, 20, 20];
149149

150150
The type system infers that it's a `(int, int, int)`. Nothing else needed to be written down.
151151

152-
Type arguments appear in many places. Our `array<'a>` type is such a type that requires a type parameter
152+
Type arguments appear in many places. Our `array<'a>` type is such a type that requires a type parameter.
153153

154154
<CodeTab labels={["ReScript", "JS Output"]}>
155155

0 commit comments

Comments
 (0)