correct std::prelude comment

This commit is contained in:
KaDiWa 2023-01-03 21:37:16 +01:00 committed by kadiwa
parent 6ce22733b9
commit 60ab69d168
No known key found for this signature in database
GPG Key ID: 0B52AE391C674CE5

View File

@ -91,10 +91,10 @@
)] )]
pub use core::prelude::v1::type_ascribe; pub use core::prelude::v1::type_ascribe;
// The file so far is equivalent to src/libcore/prelude/v1.rs, // The file so far is equivalent to core/src/prelude/v1.rs. It is duplicated
// and below to src/liballoc/prelude.rs. // rather than glob imported because we want docs to show these re-exports as
// Those files are duplicated rather than using glob imports // pointing to within `std`.
// because we want docs to show these re-exports as pointing to within `std`. // Below are the items from the alloc crate.
#[stable(feature = "rust1", since = "1.0.0")] #[stable(feature = "rust1", since = "1.0.0")]
#[doc(no_inline)] #[doc(no_inline)]