File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 2
2
refs/heads/master: 3e561f05c00cd180ec02db4ccab2840a4aba93d2
3
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
4
refs/heads/snap-stage3: ba0e1cd8147d452c356aacb29fb87568ca26f111
5
- refs/heads/try: e178495a5e3db9b8dcafce1ec9bbac4906bb92ad
5
+ refs/heads/try: ba4d55d130f9577eddf577b9bf99562a8c65857b
6
6
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
7
7
refs/heads/dist-snap: ba4081a5a8573875fed17545846f6f6902c8ba8d
8
8
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
Original file line number Diff line number Diff line change @@ -1248,12 +1248,13 @@ impl Path {
1248
1248
/// use std::path::Path;
1249
1249
///
1250
1250
/// Path::new("foo.txt");
1251
+ /// ```
1252
+ ///
1253
+ /// You can create `Path`s from `String`s, or even other `Path`s:
1251
1254
///
1252
- /// // Strings work too:
1255
+ /// ```
1253
1256
/// let s = String::from("bar.txt");
1254
1257
/// let p = Path::new(&s);
1255
- ///
1256
- /// // As do other `Path`s:
1257
1258
/// Path::new(&p);
1258
1259
/// ```
1259
1260
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
You can’t perform that action at this time.
0 commit comments