Skip to content

Commit

Permalink
Improve slice example
Browse files Browse the repository at this point in the history
  • Loading branch information
edemaine committed Oct 30, 2024
1 parent e24f155 commit 5be8f53
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions civet.dev/reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -461,8 +461,8 @@ If you just want to specify one endpoint of an increasing slice,
you can avoid `..` altogether:

<Playground>
x is x[<=i] + x[>i]
x is x[<i] + x[>=i]
[left, right] = [x[<=i], x[>i]]
[left, right] = [x[<i], x[>=i]]
</Playground>

## Strings
Expand Down

0 comments on commit 5be8f53

Please sign in to comment.