We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c0b7112 commit f7b7c1eCopy full SHA for f7b7c1e
src/libcollections/string.rs
@@ -433,6 +433,8 @@ impl String {
433
///
434
/// [`str::from_utf8()`]: ../../std/str/fn.from_utf8.html
435
436
+ /// The inverse of this method is [`as_bytes`](#method.as_bytes).
437
+ ///
438
/// # Errors
439
440
/// Returns `Err` if the slice is not UTF-8 with a description as to why the
@@ -979,6 +981,8 @@ impl String {
979
981
980
982
/// Returns a byte slice of this `String`'s contents.
983
984
+ /// The inverse of this method is [`from_utf8`](#method.from_utf8).
985
986
/// # Examples
987
988
/// Basic usage:
0 commit comments