Skip to content

Commit 080dc86

Browse files
author
Jorge Aparicio
committed
---
yaml --- r: 163831 b: refs/heads/master c: 029789b h: refs/heads/master i: 163829: 3a9b886 163827: a63530d 163823: 180b079 v: v3
1 parent 42f6d06 commit 080dc86

File tree

4 files changed

+6
-7
lines changed

4 files changed

+6
-7
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
refs/heads/master: 17a9c2764f4713bb1a040afd535af5a30d02a828
2+
refs/heads/master: 029789b98cf0115f347fe12fd19bd2c29751f8ce
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: 8443b09e361b96d1f9b7f45a65ed0d31c0e86e70
55
refs/heads/try: 20cbbffeefc1f35e2ea63afce7b42fbd79611d42

trunk/src/etc/unicode.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -348,22 +348,21 @@ def emit_conversions_module(f, lowerupper, upperlower):
348348
f.write("""
349349
use core::cmp::Ordering::{Equal, Less, Greater};
350350
use core::slice::SlicePrelude;
351-
use core::tuple::Tuple2;
352351
use core::option::Option;
353352
use core::option::Option::{Some, None};
354353
use core::slice;
355354
356355
pub fn to_lower(c: char) -> char {
357356
match bsearch_case_table(c, LuLl_table) {
358357
None => c,
359-
Some(index) => LuLl_table[index].val1()
358+
Some(index) => LuLl_table[index].1
360359
}
361360
}
362361
363362
pub fn to_upper(c: char) -> char {
364363
match bsearch_case_table(c, LlLu_table) {
365364
None => c,
366-
Some(index) => LlLu_table[index].val1()
365+
Some(index) => LlLu_table[index].1
367366
}
368367
}
369368

trunk/src/libstd/sys/windows/process.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -430,8 +430,8 @@ fn with_envp<K, V, T, F>(env: Option<&collections::HashMap<K, V>>, cb: F) -> T w
430430

431431
for pair in env.iter() {
432432
let kv = format!("{}={}",
433-
pair.ref0().container_as_str().unwrap(),
434-
pair.ref1().container_as_str().unwrap());
433+
pair.0.container_as_str().unwrap(),
434+
pair.1.container_as_str().unwrap());
435435
blk.extend(kv.utf16_units());
436436
blk.push(0);
437437
}

trunk/src/test/bench/shootout-fasta.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ impl<'a> Iterator<u8> for AAGen<'a> {
7878
fn next(&mut self) -> Option<u8> {
7979
let r = self.rng.gen();
8080
self.data.iter()
81-
.skip_while(|pc| pc.val0() < r)
81+
.skip_while(|pc| pc.0 < r)
8282
.map(|&(_, c)| c)
8383
.next()
8484
}

0 commit comments

Comments
 (0)