Skip to content

Commit 62a8f0a

Browse files
committed
---
yaml --- r: 120639 b: refs/heads/dist-snap c: e998958 h: refs/heads/master i: 120637: b63b1d8 120635: 61a5b0b 120631: 96be55b 120623: fd16624 120607: 1972704 120575: 1551f2c v: v3
1 parent c75542a commit 62a8f0a

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ refs/heads/try: 1813e5aa1a03b0596b8de7abd1af31edf5d6098f
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
88
refs/heads/try2: 147ecfdd8221e4a4d4e090486829a06da1e0ca3c
9-
refs/heads/dist-snap: f7ccae5f158cbbb7b910e59befb293e262d3dc1b
9+
refs/heads/dist-snap: e9989586724472f32c6ae040da4c1a1f0867bef0
1010
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
1111
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503
1212
refs/heads/try3: 9387340aab40a73e8424c48fd42f0c521a4875c0

branches/dist-snap/src/compiletest/runtest.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -819,7 +819,7 @@ fn check_expected_errors(expected_errors: Vec<errors::ExpectedError> ,
819819
let i = s.chars();
820820
let c : Vec<char> = i.map( |c| {
821821
if c.is_ascii() {
822-
c.to_ascii().to_lower().to_char()
822+
c.to_ascii().to_lowercase().to_char()
823823
} else {
824824
c
825825
}

branches/dist-snap/src/libglob/lib.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -553,18 +553,18 @@ fn in_char_specifiers(specifiers: &[CharSpecifier], c: char, options: MatchOptio
553553
// FIXME: work with non-ascii chars properly (issue #1347)
554554
if !options.case_sensitive && c.is_ascii() && start.is_ascii() && end.is_ascii() {
555555

556-
let start = start.to_ascii().to_lower();
557-
let end = end.to_ascii().to_lower();
556+
let start = start.to_ascii().to_lowercase();
557+
let end = end.to_ascii().to_lowercase();
558558

559-
let start_up = start.to_upper();
560-
let end_up = end.to_upper();
559+
let start_up = start.to_uppercase();
560+
let end_up = end.to_uppercase();
561561

562562
// only allow case insensitive matching when
563563
// both start and end are within a-z or A-Z
564564
if start != start_up && end != end_up {
565565
let start = start.to_char();
566566
let end = end.to_char();
567-
let c = c.to_ascii().to_lower().to_char();
567+
let c = c.to_ascii().to_lowercase().to_char();
568568
if c >= start && c <= end {
569569
return true;
570570
}

0 commit comments

Comments
 (0)