File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -2206,7 +2206,7 @@ impl<'a> From<&'a str> for String {
2206
2206
#[ cfg( not( test) ) ]
2207
2207
#[ stable( feature = "string_from_box" , since = "1.18.0" ) ]
2208
2208
impl From < Box < str > > for String {
2209
- /// Converts the given boxed `str` slice to a `String`.
2209
+ /// Converts the given boxed `str` slice to a `String`.
2210
2210
/// It is notable that the `str` slice is owned.
2211
2211
///
2212
2212
/// # Examples
@@ -2216,7 +2216,7 @@ impl From<Box<str>> for String {
2216
2216
/// ```
2217
2217
/// let s1 : String = String::from("hello world");
2218
2218
/// let s2 : Box<str> = s1.into_boxed_str();
2219
- /// let s3 : String = String::from(s2);
2219
+ /// let s3 : String = String::from(s2);
2220
2220
///
2221
2221
/// assert_eq!("hello world", s3)
2222
2222
/// ```
@@ -2308,7 +2308,7 @@ impl From<String> for Vec<u8> {
2308
2308
/// ```
2309
2309
/// let s1 = String::from("hello world");
2310
2310
/// let v1 = Vec::from(s1);
2311
- ///
2311
+ ///
2312
2312
/// for b in v1 {
2313
2313
/// println!("{}", b);
2314
2314
/// }
You can’t perform that action at this time.
0 commit comments