Skip to content

Commit ac9481a

Browse files
committed
Merge remote-tracking branch 'reusee/master' into HEAD
2 parents 051fbce + 9b2d9a9 commit ac9481a

File tree

6 files changed

+16
-16
lines changed

6 files changed

+16
-16
lines changed

src/libextra/arc.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
*
2020
* ~~~ {.rust}
2121
* extern mod std;
22-
* use std::arc;
22+
* use extra::arc;
2323
* let numbers=vec::from_fn(100, |ind| (ind as float)*rand::random());
2424
* let shared_numbers=arc::ARC(numbers);
2525
*

src/libextra/base64.rs

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ impl<'self> ToBase64 for &'self [u8] {
3636
* # Example
3737
*
3838
* ~~~ {.rust}
39-
* extern mod std;
40-
* use std::base64::ToBase64;
39+
* extern mod extra;
40+
* use extra::base64::ToBase64;
4141
*
4242
* fn main () {
4343
* let str = [52,32].to_base64();
@@ -99,8 +99,8 @@ impl<'self> ToBase64 for &'self str {
9999
* # Example
100100
*
101101
* ~~~ {.rust}
102-
* extern mod std;
103-
* use std::base64::ToBase64;
102+
* extern mod extra;
103+
* use extra::base64::ToBase64;
104104
*
105105
* fn main () {
106106
* let str = "Hello, World".to_base64();
@@ -127,9 +127,9 @@ impl<'self> FromBase64 for &'self [u8] {
127127
* # Example
128128
*
129129
* ~~~ {.rust}
130-
* extern mod std;
131-
* use std::base64::ToBase64;
132-
* use std::base64::FromBase64;
130+
* extern mod extra;
131+
* use extra::base64::ToBase64;
132+
* use extra::base64::FromBase64;
133133
*
134134
* fn main () {
135135
* let str = [52,32].to_base64();
@@ -207,9 +207,9 @@ impl<'self> FromBase64 for &'self str {
207207
* This converts a string literal to base64 and back.
208208
*
209209
* ~~~ {.rust}
210-
* extern mod std;
211-
* use std::base64::ToBase64;
212-
* use std::base64::FromBase64;
210+
* extern mod extra;
211+
* use extra::base64::ToBase64;
212+
* use extra::base64::FromBase64;
213213
* use core::str;
214214
*
215215
* fn main () {

src/libextra/future.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
* ~~~ {.rust}
1818
* # fn fib(n: uint) -> uint {42};
1919
* # fn make_a_sandwich() {};
20-
* let mut delayed_fib = std::future::spawn (|| fib(5000) );
20+
* let mut delayed_fib = extra::future::spawn (|| fib(5000) );
2121
* make_a_sandwich();
2222
* println(fmt!("fib(5000) = %?", delayed_fib.get()))
2323
* ~~~

src/libextra/net_ip.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ pub struct ParseAddrErr {
5555
*
5656
* # Arguments
5757
*
58-
* * ip - a `std::net::ip::IpAddr`
58+
* * ip - a `extra::net::ip::IpAddr`
5959
*/
6060
pub fn format_addr(ip: &IpAddr) -> ~str {
6161
match *ip {
@@ -80,7 +80,7 @@ pub fn format_addr(ip: &IpAddr) -> ~str {
8080
* Get the associated port
8181
*
8282
* # Arguments
83-
* * ip - a `std::net::ip::IpAddr`
83+
* * ip - a `extra::net::ip::IpAddr`
8484
*/
8585
pub fn get_port(ip: &IpAddr) -> uint {
8686
match *ip {

src/libstd/os.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1717,5 +1717,5 @@ mod tests {
17171717
assert!(!os::mkdir_recursive(&path, (S_IRUSR | S_IWUSR | S_IXUSR) as i32));
17181718
}
17191719

1720-
// More recursive_mkdir tests are in std::tempfile
1720+
// More recursive_mkdir tests are in extra::tempfile
17211721
}

src/libstd/str.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* Strings are a packed UTF-8 representation of text, stored as null
1515
* terminated buffers of u8 bytes. Strings should be indexed in bytes,
1616
* for efficiency, but UTF-8 unsafe operations should be avoided. For
17-
* some heavy-duty uses, try std::rope.
17+
* some heavy-duty uses, try extra::rope.
1818
*/
1919

2020
use at_vec;

0 commit comments

Comments
 (0)