Skip to content

Commit

Permalink
Update mistake in about.md (#1671)
Browse files Browse the repository at this point in the history
Fix beginless range example output
  • Loading branch information
siyana-plachkova authored May 14, 2024
1 parent df9fecc commit f89605e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion concepts/ranges/about.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ Using beginless and endless ranges is useful when you want to, for example, slic
```ruby
"Hello World"[0..] # => "Hello World"
"Hello World"[4..] # => "o World"
"Hello World"[..5] # => "Hello"
"Hello World"[..5] # => "Hello "
```

~~~~exercism/caution
Expand Down

0 comments on commit f89605e

Please sign in to comment.