File tree 1 file changed +6
-6
lines changed
1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -2214,9 +2214,9 @@ impl From<Box<str>> for String {
2214
2214
/// Basic usage:
2215
2215
///
2216
2216
/// ```
2217
- /// let s1 : String = String::from("hello world");
2218
- /// let s2 : Box<str> = s1.into_boxed_str();
2219
- /// let s3 : String = String::from(s2);
2217
+ /// let s1: String = String::from("hello world");
2218
+ /// let s2: Box<str> = s1.into_boxed_str();
2219
+ /// let s3: String = String::from(s2);
2220
2220
///
2221
2221
/// assert_eq!("hello world", s3)
2222
2222
/// ```
@@ -2234,9 +2234,9 @@ impl From<String> for Box<str> {
2234
2234
/// Basic usage:
2235
2235
///
2236
2236
/// ```
2237
- /// let s1 = String::from("hello world");
2238
- /// let s2 : Box<str> = Box::from(s1);
2239
- /// let s3 : String = String::from(s2);
2237
+ /// let s1: String = String::from("hello world");
2238
+ /// let s2: Box<str> = Box::from(s1);
2239
+ /// let s3: String = String::from(s2);
2240
2240
///
2241
2241
/// assert_eq!("hello world", s3)
2242
2242
/// ```
You can’t perform that action at this time.
0 commit comments