From 78691e35890b0a2b03592d17fd230ce173a63077 Mon Sep 17 00:00:00 2001 From: jonathanCogan Date: Thu, 3 Nov 2022 15:59:23 -0700 Subject: [PATCH] Update paths in comments. --- library/alloc/src/slice.rs | 2 +- library/core/src/lib.rs | 2 +- library/core/tests/str.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/library/alloc/src/slice.rs b/library/alloc/src/slice.rs index 9bcb6c25753..4cfb2def098 100644 --- a/library/alloc/src/slice.rs +++ b/library/alloc/src/slice.rs @@ -653,7 +653,7 @@ pub fn to_ascii_lowercase(&self) -> Vec { /// /// ```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> Concat for [V] { /// | ^ unconstrained type parameter diff --git a/library/core/src/lib.rs b/library/core/src/lib.rs index 6a22ea90864..890d7df8e17 100644 --- a/library/core/src/lib.rs +++ b/library/core/src/lib.rs @@ -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 diff --git a/library/core/tests/str.rs b/library/core/tests/str.rs index 9033d7ec156..f5066343af2 100644 --- a/library/core/tests/str.rs +++ b/library/core/tests/str.rs @@ -1 +1 @@ -// All `str` tests live in alloc/tests +// All `str` tests live in library/alloc/tests/str.rs -- 2.44.0