]> git.lizzy.rs Git - rust.git/commitdiff
Update paths in comments.
authorjonathanCogan <jonathanecogan@gmail.com>
Thu, 3 Nov 2022 22:59:23 +0000 (15:59 -0700)
committerMara Bos <m-ou.se@m-ou.se>
Fri, 30 Dec 2022 13:00:42 +0000 (14:00 +0100)
library/alloc/src/slice.rs
library/core/src/lib.rs
library/core/tests/str.rs

index 9bcb6c25753a42a72de371f594e68ebc4521a282..4cfb2def09804ed3387b899c756f4712b26c52fa 100644 (file)
@@ -653,7 +653,7 @@ pub fn to_ascii_lowercase(&self) -> Vec<u8> {
 ///
 /// ```error
 /// error[E0207]: the type parameter `T` is not constrained by the impl trait, self type, or predica
-///    --> src/alloc/slice.rs:608:6
+///    --> library/alloc/src/slice.rs:608:6
 ///     |
 /// 608 | impl<T: Clone, V: Borrow<[T]>> Concat for [V] {
 ///     |      ^ unconstrained type parameter
index 6a22ea90864af0eff4e0725524f9fbe9fd580ae1..890d7df8e17962e130ea8b2e63c0911bfe3d855d 100644 (file)
@@ -39,7 +39,7 @@
 //!    called. The `lang` attribute is called `eh_personality`.
 
 // Since core defines many fundamental lang items, all tests live in a
-// separate crate, libcoretest, to avoid bizarre issues.
+// separate crate, libcoretest (library/core/tests), to avoid bizarre issues.
 //
 // Here we explicitly #[cfg]-out this whole crate when testing. If we don't do
 // this, both the generated test artifact and the linked libtest (which
index 9033d7ec1567f1c2e7a2953951dfeb50791e8c1f..f5066343af20a78d41475aa65ca67c1fa17200df 100644 (file)
@@ -1 +1 @@
-// All `str` tests live in alloc/tests
+// All `str` tests live in library/alloc/tests/str.rs