about summary refs log tree commit diff
path: root/library/alloc
diff options
context:
space:
mode:
authorjonathanCogan <jonathanecogan@gmail.com>2022-10-28 15:34:29 -0700
committerMara Bos <m-ou.se@m-ou.se>2022-12-30 14:00:40 +0100
commit72067c77bdc1e8e339b9ed378a2c0ca0a9367c4d (patch)
treed747f0dfc416d6c5d07d10c5ec964d1c08b4c3f1 /library/alloc
parentf6cc345be403d481b4518e151218118c2a9eb4bb (diff)
downloadrust-72067c77bdc1e8e339b9ed378a2c0ca0a9367c4d.tar.gz
rust-72067c77bdc1e8e339b9ed378a2c0ca0a9367c4d.zip
Replace libstd, libcore, liballoc in docs.
Diffstat (limited to 'library/alloc')
-rw-r--r--library/alloc/src/lib.rs2
-rw-r--r--library/alloc/src/slice.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/library/alloc/src/lib.rs b/library/alloc/src/lib.rs
index 09f459f84f7..7af60183dbb 100644
--- a/library/alloc/src/lib.rs
+++ b/library/alloc/src/lib.rs
@@ -3,7 +3,7 @@
 //! This library provides smart pointers and collections for managing
 //! heap-allocated values.
 //!
-//! This library, like libcore, normally doesn’t need to be used directly
+//! This library, like core, normally doesn’t need to be used directly
 //! since its contents are re-exported in the [`std` crate](../std/index.html).
 //! Crates that use the `#![no_std]` attribute however will typically
 //! not depend on `std`, so they’d use this crate instead.
diff --git a/library/alloc/src/slice.rs b/library/alloc/src/slice.rs
index 1b61ede3476..9bcb6c25753 100644
--- a/library/alloc/src/slice.rs
+++ b/library/alloc/src/slice.rs
@@ -653,7 +653,7 @@ impl [u8] {
 ///
 /// ```error
 /// error[E0207]: the type parameter `T` is not constrained by the impl trait, self type, or predica
-///    --> src/liballoc/slice.rs:608:6
+///    --> src/alloc/slice.rs:608:6
 ///     |
 /// 608 | impl<T: Clone, V: Borrow<[T]>> Concat for [V] {
 ///     |      ^ unconstrained type parameter