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.
1 parent 04fa635 commit f1d3a8aCopy full SHA for f1d3a8a
library/core/src/any.rs
@@ -627,7 +627,7 @@ impl dyn Any + Send + Sync {
627
/// ```
628
/// type SubType = fn(&());
629
/// type SuperType = fn(&'static ());
630
-/// type CoVar<T> = Box<T>; // imagine something more complicated
+/// type CoVar<T> = Vec<T>; // imagine something more complicated
631
///
632
/// let sub: CoVar<SubType> = CoVar::new();
633
/// // we have a `CoVar<SuperType>` instance without
0 commit comments