Skip to content

Commit b5c9990

Browse files
committed
Change to 4-space indents in code examples
1 parent ced12a7 commit b5c9990

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

src/libstd/base64.rs

+14-14
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ impl<'self> ToBase64 for &'self [u8] {
3737
* use std::base64::ToBase64;
3838
*
3939
* fn main () {
40-
* let str = [52,32].to_base64();
41-
* println(fmt!("%s", str));
40+
* let str = [52,32].to_base64();
41+
* println(fmt!("%s", str));
4242
* }
4343
* ~~~~
4444
*/
@@ -102,8 +102,8 @@ impl<'self> ToBase64 for &'self str {
102102
* use std::base64::ToBase64;
103103
*
104104
* fn main () {
105-
* let str = "Hello, World".to_base64();
106-
* println(fmt!("%s",str));
105+
* let str = "Hello, World".to_base64();
106+
* println(fmt!("%s",str));
107107
* }
108108
* ~~~~
109109
*
@@ -130,10 +130,10 @@ impl FromBase64 for ~[u8] {
130130
* use std::base64::FromBase64;
131131
*
132132
* fn main () {
133-
* let str = [52,32].to_base64();
134-
* println(fmt!("%s", str));
135-
* let bytes = str.from_base64();
136-
* println(fmt!("%?",bytes));
133+
* let str = [52,32].to_base64();
134+
* println(fmt!("%s", str));
135+
* let bytes = str.from_base64();
136+
* println(fmt!("%?",bytes));
137137
* }
138138
* ~~~~
139139
*/
@@ -217,12 +217,12 @@ impl FromBase64 for ~str {
217217
* use core::str;
218218
*
219219
* fn main () {
220-
* let hello_str = "Hello, World".to_base64();
221-
* println(fmt!("%s",hello_str));
222-
* let bytes = hello_str.from_base64();
223-
* println(fmt!("%?",bytes));
224-
* let result_str = str::from_bytes(bytes);
225-
* println(fmt!("%s",result_str));
220+
* let hello_str = "Hello, World".to_base64();
221+
* println(fmt!("%s",hello_str));
222+
* let bytes = hello_str.from_base64();
223+
* println(fmt!("%?",bytes));
224+
* let result_str = str::from_bytes(bytes);
225+
* println(fmt!("%s",result_str));
226226
* }
227227
* ~~~~
228228
*/

0 commit comments

Comments
 (0)