Skip to content

Commit

Permalink
specify a prim@slice in docs
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
m4rch3n1ng authored and gitbot committed Feb 20, 2025
1 parent 14f7f4c commit 02e41f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/str/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ impl str {
/// UTF-8, and then does the conversion.
///
/// [`&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
/// incur the overhead of the validity check, there is an unsafe version of
Expand Down

0 comments on commit 02e41f1

Please sign in to comment.