Skip to content

Commit 53947ad

Browse files
author
Lukas Markeffsky
committed
explain that PhantomData<&'a T> infers T: 'a
1 parent d044234 commit 53947ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/marker.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -695,7 +695,7 @@ impl<T: ?Sized> !Sync for *mut T {}
695695
/// }
696696
/// ```
697697
///
698-
/// This also in turn requires the annotation `T: 'a`, indicating
698+
/// This also in turn infers the lifetime bound `T: 'a`, indicating
699699
/// that any references in `T` are valid over the lifetime `'a`.
700700
///
701701
/// When initializing a `Slice` you simply provide the value

0 commit comments

Comments
 (0)