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:
parent
03eed12168
commit
15adc38ffc
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue