diff options
| author | may <m4rch3n1ng@gmail.com> | 2025-02-04 00:34:42 +0100 |
|---|---|---|
| committer | may <m4rch3n1ng@gmail.com> | 2025-02-04 02:51:44 +0100 |
| commit | 15adc38ffc4608855c959ec521fe0124e1dffb2c (patch) | |
| tree | 53c94a64b53ae1d18438a235d02dcbaacc186916 /library/core/src/str/mod.rs | |
| parent | 03eed121687b4a489bb4d6648ea448dd562165bd (diff) | |
| download | rust-15adc38ffc4608855c959ec521fe0124e1dffb2c.tar.gz rust-15adc38ffc4608855c959ec521fe0124e1dffb2c.zip | |
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.
Diffstat (limited to 'library/core/src/str/mod.rs')
| -rw-r--r-- | library/core/src/str/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/core/src/str/mod.rs b/library/core/src/str/mod.rs index 17fb43b7830..5b258a7c844 100644 --- a/library/core/src/str/mod.rs +++ b/library/core/src/str/mod.rs @@ -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 |
