Skip to content

Commit 585a7e4

Browse files
govindatWilfred
authored andcommitted
added backticks to readonly phrases for clarity
1 parent 5f20643 commit 585a7e4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

guides/hack/16-readonly/01-introduction.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Expressions in Hack can be annotated with the `readonly` keyword. When an object
77

88

99
### Readonlyness
10-
Object properties of readonly values cannot be modified (i.e. mutated).
10+
Object properties of `readonly` values cannot be modified (i.e. mutated).
1111

1212
```Hack readonly.readonlyness.hack.type-errors
1313
class Bar {
@@ -27,7 +27,7 @@ function test(readonly Foo $x) : void {
2727
```
2828

2929
### Deepness
30-
All nested properties of readonly objects are readonly.
30+
All nested properties of `readonly` objects are readonly.
3131

3232
####
3333
``` Hack readonly.deepness.hack.type-errors

0 commit comments

Comments
 (0)