Skip to content

Commit ff6c314

Browse files
author
Ulrik Sverdrup
committed
Update for rename to RangeFull
1 parent c10f8e5 commit ff6c314

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

text/0000-fullrange-expression.md renamed to text/0000-rangefull-expression.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,18 @@
44

55
# Summary
66

7-
Add the syntax `..` for `std::ops::FullRange`.
7+
Add the syntax `..` for `std::ops::RangeFull`.
88

99
# Motivation
1010

1111
Range expressions `a..b`, `a..` and `..b` all have dedicated syntax and
1212
produce first-class values. This means that they will be usable and
1313
useful in custom APIs, so for consistency, the fourth slicing range,
14-
`FullRange`, could have its own syntax `..`
14+
`RangeFull`, could have its own syntax `..`
1515

1616
# Detailed design
1717

18-
`..` will produce a `std::ops::FullRange` value when it is used in an
18+
`..` will produce a `std::ops::RangeFull` value when it is used in an
1919
expression. This means that slicing the whole range of a sliceable
2020
container is written `&foo[..]`.
2121

0 commit comments

Comments
 (0)