diff options
| author | Srinivas Reddy Thatiparthy <thatiparthysreenivas@gmail.com> | 2016-12-20 09:54:00 +0530 |
|---|---|---|
| committer | Srinivas Reddy Thatiparthy <thatiparthysreenivas@gmail.com> | 2016-12-20 09:54:00 +0530 |
| commit | 6414e67dbaa27f8638b01a33f49e462e87ecfab3 (patch) | |
| tree | f29af576e5be30f3fea9c08ea2eeb5add82cd135 /src/libcollections/str.rs | |
| parent | 94ae2a2e6791e0c4ab6fba836b2b09a07f2d3c8a (diff) | |
| download | rust-6414e67dbaa27f8638b01a33f49e462e87ecfab3.tar.gz rust-6414e67dbaa27f8638b01a33f49e462e87ecfab3.zip | |
run rustfmt on libcollections folder
Diffstat (limited to 'src/libcollections/str.rs')
| -rw-r--r-- | src/libcollections/str.rs | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/libcollections/str.rs b/src/libcollections/str.rs index d4be0914f15..70cedce9a90 100644 --- a/src/libcollections/str.rs +++ b/src/libcollections/str.rs @@ -1697,11 +1697,7 @@ impl str { debug_assert!('Σ'.len_utf8() == 2); let is_word_final = case_ignoreable_then_cased(from[..i].chars().rev()) && !case_ignoreable_then_cased(from[i + 2..].chars()); - to.push_str(if is_word_final { - "ς" - } else { - "σ" - }); + to.push_str(if is_word_final { "ς" } else { "σ" }); } fn case_ignoreable_then_cased<I: Iterator<Item = char>>(iter: I) -> bool { |
