summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
authorTshepang Lekhonkhobe <tshepang@gmail.com>2016-02-04 23:31:22 +0200
committerTshepang Lekhonkhobe <tshepang@gmail.com>2016-02-04 23:31:22 +0200
commit9721752d35123b4cd7190abdf1e894b1a9bfadf3 (patch)
tree9a690c945d2d99ed7ca7b4adeb1d320b4da8f740 /src/libstd
parentb8b18aac12214d7135a083e2e6946aa197185d49 (diff)
downloadrust-9721752d35123b4cd7190abdf1e894b1a9bfadf3.tar.gz
rust-9721752d35123b4cd7190abdf1e894b1a9bfadf3.zip
doc: Rust indents are 4-space wide by convention
Diffstat (limited to 'src/libstd')
-rw-r--r--src/libstd/collections/hash/map.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libstd/collections/hash/map.rs b/src/libstd/collections/hash/map.rs
index 173214eda44..3477c182676 100644
--- a/src/libstd/collections/hash/map.rs
+++ b/src/libstd/collections/hash/map.rs
@@ -279,9 +279,9 @@ fn test_resize_policy() {
 /// let mut player_stats = HashMap::new();
 ///
 /// fn random_stat_buff() -> u8 {
-///   // could actually return some random value here - let's just return
-///   // some fixed value for now
-///   42
+///     // could actually return some random value here - let's just return
+///     // some fixed value for now
+///     42
 /// }
 ///
 /// // insert a key only if it doesn't already exist