about summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
authorLeah Hanson <astrieanna@gmail.com>2013-04-14 09:24:13 -0400
committerLeah Hanson <astrieanna@gmail.com>2013-04-14 09:24:13 -0400
commitb5c9990c387fff415a7de54f5870e5af92169a5d (patch)
tree1bb161baf4790113a5bdd9511c4a0162ec0d1fde /src/libstd
parentced12a74cd5195852d9f074c5334a678f4aa001c (diff)
downloadrust-b5c9990c387fff415a7de54f5870e5af92169a5d.tar.gz
rust-b5c9990c387fff415a7de54f5870e5af92169a5d.zip
Change to 4-space indents in code examples
Diffstat (limited to 'src/libstd')
-rw-r--r--src/libstd/base64.rs28
1 files changed, 14 insertions, 14 deletions
diff --git a/src/libstd/base64.rs b/src/libstd/base64.rs
index 1a7c1542f9d..5da7cfa3efe 100644
--- a/src/libstd/base64.rs
+++ b/src/libstd/base64.rs
@@ -37,8 +37,8 @@ impl<'self> ToBase64 for &'self [u8] {
      * use std::base64::ToBase64;
      *
      * fn main () {
-     *   let str = [52,32].to_base64();
-     *   println(fmt!("%s", str));
+     *     let str = [52,32].to_base64();
+     *     println(fmt!("%s", str));
      * }
      * ~~~~
      */
@@ -102,8 +102,8 @@ impl<'self> ToBase64 for &'self str {
      * use std::base64::ToBase64;
      *
      * fn main () {
-     *   let str = "Hello, World".to_base64();
-     *   println(fmt!("%s",str));
+     *     let str = "Hello, World".to_base64();
+     *     println(fmt!("%s",str));
      * }
      * ~~~~
      *
@@ -130,10 +130,10 @@ impl FromBase64 for ~[u8] {
      * use std::base64::FromBase64;
      *
      * fn main () {
-     *   let str = [52,32].to_base64();
-     *   println(fmt!("%s", str));
-     *   let bytes = str.from_base64();
-     *   println(fmt!("%?",bytes));
+     *     let str = [52,32].to_base64();
+     *     println(fmt!("%s", str));
+     *     let bytes = str.from_base64();
+     *     println(fmt!("%?",bytes));
      * }
      * ~~~~
      */
@@ -217,12 +217,12 @@ impl FromBase64 for ~str {
      * use core::str;
      *
      * fn main () {
-     *   let hello_str = "Hello, World".to_base64();
-     *   println(fmt!("%s",hello_str));
-     *   let bytes = hello_str.from_base64();
-     *   println(fmt!("%?",bytes));
-     *   let result_str = str::from_bytes(bytes);
-     *   println(fmt!("%s",result_str));
+     *     let hello_str = "Hello, World".to_base64();
+     *     println(fmt!("%s",hello_str));
+     *     let bytes = hello_str.from_base64();
+     *     println(fmt!("%?",bytes));
+     *     let result_str = str::from_bytes(bytes);
+     *     println(fmt!("%s",result_str));
      * }
      * ~~~~
      */