about summary refs log tree commit diff
path: root/src/libstd/path
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2014-06-30 01:56:26 +0000
committerbors <bors@rust-lang.org>2014-06-30 01:56:26 +0000
commit9ae48286a99627391e30da3888217e6050230cfe (patch)
tree473e4f58f743b777459f3fba7fd7a639d22057e0 /src/libstd/path
parentbb5695b95c288c442dbe528f7e1c1b08f79f033d (diff)
parentc420f448b3cc8b6cd0c0f6c7f71b1544df8a8f9f (diff)
downloadrust-9ae48286a99627391e30da3888217e6050230cfe.tar.gz
rust-9ae48286a99627391e30da3888217e6050230cfe.zip
auto merge of #15254 : alex/rust/patch-1, r=alexcrichton
This makes the docs ever-so-slightly easier to read.
Diffstat (limited to 'src/libstd/path')
-rw-r--r--src/libstd/path/mod.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstd/path/mod.rs b/src/libstd/path/mod.rs
index e55dc165895..6d48122b186 100644
--- a/src/libstd/path/mod.rs
+++ b/src/libstd/path/mod.rs
@@ -35,8 +35,8 @@ code, `Path` should be used to refer to the platform-native path.
 Creation of a path is typically done with either `Path::new(some_str)` or
 `Path::new(some_vec)`. This path can be modified with `.push()` and
 `.pop()` (and other setters). The resulting Path can either be passed to another
-API that expects a path, or can be turned into a &[u8] with `.as_vec()` or a
-Option<&str> with `.as_str()`. Similarly, attributes of the path can be queried
+API that expects a path, or can be turned into a `&[u8]` with `.as_vec()` or a
+`Option<&str>` with `.as_str()`. Similarly, attributes of the path can be queried
 with methods such as `.filename()`. There are also methods that return a new
 path instead of modifying the receiver, such as `.join()` or `.dir_path()`.