Skip to content

Commit

Permalink
Test fixes and rebase conflicts, round 3
Browse files Browse the repository at this point in the history
  • Loading branch information
alexcrichton committed Mar 27, 2015
1 parent 990202c commit 7e3fd14
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions src/libstd/ascii.rs
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@ pub trait AsciiExt {
/// # Examples
///
/// ```
/// # #![feature(ascii)]
/// use std::ascii::AsciiExt;
///
/// let mut ascii = 'a';
Expand All @@ -142,6 +143,7 @@ pub trait AsciiExt {
/// # Examples
///
/// ```
/// # #![feature(ascii)]
/// use std::ascii::AsciiExt;
///
/// let mut ascii = 'A';
Expand Down
2 changes: 1 addition & 1 deletion src/libstd/dynamic_lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ mod dl {
use libc;
use libc::consts::os::extra::ERROR_CALL_NOT_IMPLEMENTED;
use ops::FnOnce;
use os;
use sys::os;
use os::windows::prelude::*;
use option::Option::{self, Some, None};
use ptr;
Expand Down
2 changes: 1 addition & 1 deletion src/test/run-make/extern-fn-reachable/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

use std::dynamic_lib::DynamicLibrary;
use std::os;
use std::old_path::Path;
use std::path::Path;

pub fn main() {
unsafe {
Expand Down
2 changes: 1 addition & 1 deletion src/test/run-pass/issue-23485.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ trait Iterator {
Self::Item: Deref,
<Self::Item as Deref>::Target: Clone,
{
self.next().cloned()

This comment has been minimized.

Copy link
@tamird

tamird Mar 28, 2015

doesn't option still implement cloned()?

This comment has been minimized.

Copy link
@alexcrichton

alexcrichton Mar 28, 2015

Author Owner

Yes, but not for general T: Deref

This comment has been minimized.

Copy link
@tamird

tamird Mar 28, 2015

thanks!

self.next().map(|x| x.clone())
}
}

Expand Down

0 comments on commit 7e3fd14

Please sign in to comment.