Skip to content

Commit c981ea1

Browse files
committed
HRTB -> higher-ranked types
1 parent 0ad5ce7 commit c981ea1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

text/0000-all-the-clones.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ And add the obvious implementations of `Clone::clone` and `Clone::clone_from` as
4444

4545
Remove the macro implementations in libcore. We still have macro implementations for other "derived" traits, such as `PartialEq`, `Hash`, etc.
4646

47-
Note that independently of this RFC, we're adding builtin `Clone` impls for all "scalar" types, most importantly fn pointer and fn item types (where manual impls are impossible in the foreseeable future because of HRTBs, e.g. `for<'a> fn(SomeLocalStruct<'a>)`), which are already `Copy`:
47+
Note that independently of this RFC, we're adding builtin `Clone` impls for all "scalar" types, most importantly fn pointer and fn item types (where manual impls are impossible in the foreseeable future because of higher-ranked types, e.g. `for<'a> fn(SomeLocalStruct<'a>)`), which are already `Copy`:
4848
```
4949
T fn pointer type
5050
----------

0 commit comments

Comments
 (0)