1
Fork 0

librustc: Make unqualified identifier searches terminate at the nearest module scope. r=tjc

This commit is contained in:
Patrick Walton 2013-01-08 11:12:16 -08:00
parent fd872284bb
commit a8d37af247
250 changed files with 1342 additions and 453 deletions

View file

@ -20,6 +20,7 @@ The `ToBytes` and `IterBytes` traits
use io;
use io::Writer;
use option::{None, Option, Some};
use str;
pub type Cb = fn(buf: &[const u8]) -> bool;
@ -181,6 +182,8 @@ pub mod x32 {
#[cfg(target_word_size = "64")]
pub mod x64 {
use to_bytes::{Cb, IterBytes};
pub impl uint: IterBytes {
#[inline(always)]
pure fn iter_bytes(&self, lsb0: bool, f: Cb) {