about summary refs log tree commit diff
path: root/src/libstd/path.rs
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2015-03-12 09:13:47 +0530
committerManish Goregaokar <manishsmail@gmail.com>2015-03-12 09:13:47 +0530
commit0a74387b642bfc6ba0c8de723942eafae440bc4a (patch)
tree109b0be66b72fa83a755169299dbcbdc3e2b8b97 /src/libstd/path.rs
parent2c251fa84694112890d879cd5fe05d18006f0a0c (diff)
parent64ab111b5387e9985df188a970350c9e6c7f1451 (diff)
downloadrust-0a74387b642bfc6ba0c8de723942eafae440bc4a.tar.gz
rust-0a74387b642bfc6ba0c8de723942eafae440bc4a.zip
Rollup merge of #23297 - steveklabnik:examples, r=huonw
 This brings comments in line with https://github.com/rust-lang/rfcs/blob/master/text/0505-api-comment-conventions.md#using-markdown
Diffstat (limited to 'src/libstd/path.rs')
-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 ad8e17fed24..bf71acc522c 100644
--- a/src/libstd/path.rs
+++ b/src/libstd/path.rs
@@ -809,7 +809,7 @@ impl<'a> cmp::Ord for Components<'a> {
 /// More details about the overall approach can be found in
 /// the module documentation.
 ///
-/// # Example
+/// # Examples
 ///
 /// ```rust
 /// use std::path::PathBuf;
@@ -1041,7 +1041,7 @@ impl AsOsStr for PathBuf {
 /// This is an *unsized* type, meaning that it must always be used with behind a
 /// pointer like `&` or `Box`.
 ///
-/// # Example
+/// # Examples
 ///
 /// ```rust
 /// use std::path::Path;