about summary refs log tree commit diff
diff options
context:
space:
mode:
authorKaDiWa <kalle.wachsmuth@gmail.com>2023-01-03 21:37:16 +0100
committerkadiwa <kalle.wachsmuth@gmail.com>2023-04-27 15:56:57 +0200
commit60ab69d168f9a1b300a2e430cd05dcfd835bd8f7 (patch)
tree266fd2a207f58be20ae96aabbf3f395a4126bdf2
parent6ce22733b973355573efd1e6294e585460e90e17 (diff)
downloadrust-60ab69d168f9a1b300a2e430cd05dcfd835bd8f7.tar.gz
rust-60ab69d168f9a1b300a2e430cd05dcfd835bd8f7.zip
correct `std::prelude` comment
-rw-r--r--library/std/src/prelude/v1.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/library/std/src/prelude/v1.rs b/library/std/src/prelude/v1.rs
index 2aefd7c513d..7a7a7737635 100644
--- a/library/std/src/prelude/v1.rs
+++ b/library/std/src/prelude/v1.rs
@@ -91,10 +91,10 @@ pub use core::prelude::v1::cfg_eval;
 )]
 pub use core::prelude::v1::type_ascribe;
 
-// The file so far is equivalent to src/libcore/prelude/v1.rs,
-// and below to src/liballoc/prelude.rs.
-// Those files are duplicated rather than using glob imports
-// because we want docs to show these re-exports as pointing to within `std`.
+// The file so far is equivalent to core/src/prelude/v1.rs. It is duplicated
+// rather than glob imported 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")]
 #[doc(no_inline)]