We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
std::any::TypeId
Unique<T>
1 parent ff08635 commit d218e7fCopy full SHA for d218e7f
1 file changed
library/core/src/any.rs
@@ -666,7 +666,7 @@ impl dyn Any + Send + Sync {
666
///
667
/// The following is an example program that tries to use `TypeId::of` to
668
/// 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.
+/// that is, for each type `T` there can be at most one value of type `Unique<T>` at any time.
670
671
/// ```
672
/// mod unique {
0 commit comments