Skip to content

Commit d218e7f

Browse files
std::any::TypeId: remove misplaced "and" in Unique<T> example
1 parent ff08635 commit d218e7f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

library/core/src/any.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -666,7 +666,7 @@ impl dyn Any + Send + Sync {
666666
///
667667
/// The following is an example program that tries to use `TypeId::of` to
668668
/// implement a generic type `Unique<T>` that guarantees unique instances for each `Unique<T>`,
669-
/// that is, and for each type `T` there can be at most one value of type `Unique<T>` at any time.
669+
/// that is, for each type `T` there can be at most one value of type `Unique<T>` at any time.
670670
///
671671
/// ```
672672
/// mod unique {

0 commit comments

Comments
 (0)