about summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
authorNick Hamann <nick@wabbo.org>2015-04-20 21:01:13 -0500
committerNick Hamann <nick@wabbo.org>2015-04-20 21:01:13 -0500
commite178495a5e3db9b8dcafce1ec9bbac4906bb92ad (patch)
tree40c4edfbc820714b33560faf535e2485851e9469 /src/libstd
parentdb2f308a46fe4e66311ed7d05f2b4f7597c6a7b3 (diff)
downloadrust-e178495a5e3db9b8dcafce1ec9bbac4906bb92ad.tar.gz
rust-e178495a5e3db9b8dcafce1ec9bbac4906bb92ad.zip
Address some nits
Diffstat (limited to 'src/libstd')
-rw-r--r--src/libstd/path.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstd/path.rs b/src/libstd/path.rs
index c5646e014eb..b4a359080d7 100644
--- a/src/libstd/path.rs
+++ b/src/libstd/path.rs
@@ -1249,11 +1249,11 @@ impl Path {
     ///
     /// Path::new("foo.txt");
     ///
-    /// // Strings work too
+    /// // Strings work too:
     /// let s = String::from("bar.txt");
     /// let p = Path::new(&s);
     ///
-    /// // As do other Paths
+    /// // As do other `Path`s:
     /// Path::new(&p);
     /// ```
     #[stable(feature = "rust1", since = "1.0.0")]