Skip to content

Commit

Permalink
Fix minor grammatical mistake in constants.md
Browse files Browse the repository at this point in the history
  • Loading branch information
novedevo authored and lpil committed Jan 17, 2024
1 parent 0a05978 commit 766788c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions book-src/tour/constants.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ pub fn is_during(year: Int) -> Bool {
}
```

Like all values in Gleam constants are immutable and their values cannot be
Like all values in Gleam, constants are immutable and their values cannot be
changed, so they cannot be used as global mutable state.

When a constant is referenced the value is inlined by the compiler, so they
When a constant is referenced, the value is inlined by the compiler, so they
can be used in case expression guards.

```gleam
Expand Down

0 comments on commit 766788c

Please sign in to comment.