1
Fork 0

specify a prim@slice in docs

i am not quite sure how this failure is in any way related to this pr,
since i am only touching inherent functions on str? but sure.
This commit is contained in:
may 2025-02-04 00:34:42 +01:00
parent 03eed12168
commit 15adc38ffc
No known key found for this signature in database
GPG key ID: 7A78D2D7C60F6EC0

View file

@ -169,7 +169,7 @@ impl str {
/// UTF-8, and then does the conversion. /// UTF-8, and then does the conversion.
/// ///
/// [`&str`]: str /// [`&str`]: str
/// [byteslice]: slice /// [byteslice]: prim@slice
/// ///
/// If you are sure that the byte slice is valid UTF-8, and you don't want to /// If you are sure that the byte slice is valid UTF-8, and you don't want to
/// incur the overhead of the validity check, there is an unsafe version of /// incur the overhead of the validity check, there is an unsafe version of