Skip to content

Commit 7e3fd14

Browse files
committed
Test fixes and rebase conflicts, round 3
1 parent 990202c commit 7e3fd14

File tree

4 files changed

+5
-3
lines changed

4 files changed

+5
-3
lines changed

src/libstd/ascii.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,7 @@ pub trait AsciiExt {
124124
/// # Examples
125125
///
126126
/// ```
127+
/// # #![feature(ascii)]
127128
/// use std::ascii::AsciiExt;
128129
///
129130
/// let mut ascii = 'a';
@@ -142,6 +143,7 @@ pub trait AsciiExt {
142143
/// # Examples
143144
///
144145
/// ```
146+
/// # #![feature(ascii)]
145147
/// use std::ascii::AsciiExt;
146148
///
147149
/// let mut ascii = 'A';

src/libstd/dynamic_lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ mod dl {
265265
use libc;
266266
use libc::consts::os::extra::ERROR_CALL_NOT_IMPLEMENTED;
267267
use ops::FnOnce;
268-
use os;
268+
use sys::os;
269269
use os::windows::prelude::*;
270270
use option::Option::{self, Some, None};
271271
use ptr;

src/test/run-make/extern-fn-reachable/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
use std::dynamic_lib::DynamicLibrary;
1414
use std::os;
15-
use std::old_path::Path;
15+
use std::path::Path;
1616

1717
pub fn main() {
1818
unsafe {

src/test/run-pass/issue-23485.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ trait Iterator {
3030
Self::Item: Deref,
3131
<Self::Item as Deref>::Target: Clone,
3232
{
33-
self.next().cloned()
33+
self.next().map(|x| x.clone())
3434
}
3535
}
3636

0 commit comments

Comments
 (0)