Skip to content

Commit 3244ee8

Browse files
committed
---
yaml --- r: 130527 b: refs/heads/try c: 4bea7b3 h: refs/heads/master i: 130525: 1afe0cc 130523: b4729ec 130519: 5b135aa 130511: 8f775a6 130495: ba03883 v: v3
1 parent 0312599 commit 3244ee8

File tree

12 files changed

+3804
-3111
lines changed

12 files changed

+3804
-3111
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
refs/heads/master: c964cb229bd342bdeb0b4506c3a6d32b03e575f6
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: 67b97ab6d2b7de9b69fd97dc171fcf8feec932ff
5-
refs/heads/try: 6d2d47b2fc73b7beacced1f2a62037193ea1ed30
5+
refs/heads/try: 4bea7b3ed0856310fc64614e5bb01e348777c99f
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
88
refs/heads/try2: 147ecfdd8221e4a4d4e090486829a06da1e0ca3c

branches/try/src/libglob/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -680,6 +680,7 @@ mod test {
680680
}
681681

682682
#[test]
683+
#[ignore(cfg(windows))] // FIXME (#9406)
683684
fn test_lots_of_files() {
684685
// this is a good test because it touches lots of differently named files
685686
glob("/*/*/*/*").skip(10000).next();

branches/try/src/libnum/rational.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ impl<T: Clone + Integer + PartialOrd>
154154
Ratio::from_integer(self.numer / self.denom)
155155
}
156156

157-
///Returns the fractional part of a number.
157+
/// Returns the fractional part of a number.
158158
#[inline]
159159
pub fn fract(&self) -> Ratio<T> {
160160
Ratio::new_raw(self.numer % self.denom, self.denom.clone())
@@ -243,7 +243,7 @@ macro_rules! arith_impl {
243243
}
244244
}
245245

246-
// a/b + c/d = (a*d + b*c)/(b*d
246+
// a/b + c/d = (a*d + b*c)/(b*d)
247247
arith_impl!(impl Add, add)
248248

249249
// a/b - c/d = (a*d - b*c)/(b*d)

branches/try/src/librustc/lint/context.rs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,9 @@ impl LintStore {
103103
}
104104

105105
pub fn get_lint_groups<'t>(&'t self) -> Vec<(&'static str, Vec<LintId>, bool)> {
106-
self.lint_groups.iter().map(|(k, &(ref v, b))| (*k, v.clone(), b)).collect()
106+
self.lint_groups.iter().map(|(k, v)| (*k,
107+
v.ref0().clone(),
108+
*v.ref1())).collect()
107109
}
108110

109111
pub fn register_pass(&mut self, sess: Option<&Session>,
@@ -210,7 +212,7 @@ impl LintStore {
210212
match self.by_name.find_equiv(&lint_name.as_slice()) {
211213
Some(&lint_id) => self.set_level(lint_id, (level, CommandLine)),
212214
None => {
213-
match self.lint_groups.iter().map(|(&x, &(ref y, _))| (x, y.clone()))
215+
match self.lint_groups.iter().map(|(&x, pair)| (x, pair.ref0().clone()))
214216
.collect::<HashMap<&'static str, Vec<LintId>>>()
215217
.find_equiv(&lint_name.as_slice()) {
216218
Some(v) => {

branches/try/src/librustdoc/html/render.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,7 @@ pub fn run(mut krate: clean::Crate, external_html: &ExternalHtml, dst: Path) ->
312312
}).unwrap_or(HashMap::new());
313313
let mut cache = Cache {
314314
impls: HashMap::new(),
315-
external_paths: paths.iter().map(|(&k, &(ref v, _))| (k, v.clone()))
315+
external_paths: paths.iter().map(|(&k, v)| (k, v.ref0().clone()))
316316
.collect(),
317317
paths: paths,
318318
implementors: HashMap::new(),

0 commit comments

Comments
 (0)