mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Upgrade to rustc 1.22.0-nightly (c6884b12d 2017-09-30)
A new `AddAssign` impl in the standard library made inference ambiguous.
This commit is contained in:
parent
65d9b345bb
commit
b6bfdc982d
2 changed files with 2 additions and 2 deletions
|
@ -236,7 +236,7 @@ impl<T: ClipboardProvider> TextInput<T> {
|
|||
/// The length of the selected text in UTF-16 code units.
|
||||
fn selection_utf16_len(&self) -> usize {
|
||||
self.fold_selection_slices(0usize,
|
||||
|len, slice| *len += slice.chars().map(char::len_utf16).sum())
|
||||
|len, slice| *len += slice.chars().map(char::len_utf16).sum::<usize>())
|
||||
}
|
||||
|
||||
/// Run the callback on a series of slices that, concatenated, make up the selected text.
|
||||
|
|
|
@ -1 +1 @@
|
|||
nightly-2017-09-17
|
||||
nightly-2017-10-01
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue