Skip to content

Commit 9cedf45

Browse files
committed
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.
1 parent c702c68 commit 9cedf45

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/core/src/str/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ impl str {
169169
/// UTF-8, and then does the conversion.
170170
///
171171
/// [`&str`]: str
172-
/// [byteslice]: slice
172+
/// [byteslice]: prim@slice
173173
///
174174
/// If you are sure that the byte slice is valid UTF-8, and you don't want to
175175
/// incur the overhead of the validity check, there is an unsafe version of

0 commit comments

Comments
 (0)