mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
Upgrade to rustc 551a74dddd84cf01440ee84148ebd18bc68bd7c8.
This commit is contained in:
parent
7b87085c18
commit
ef8edd4e87
168 changed files with 2247 additions and 2408 deletions
|
@ -14,7 +14,6 @@ use util::str::DOMString;
|
|||
use std::borrow::ToOwned;
|
||||
use std::cmp::{min, max};
|
||||
use std::default::Default;
|
||||
use std::num::SignedInt;
|
||||
use std::sync::mpsc::channel;
|
||||
|
||||
#[derive(Copy, Clone, PartialEq)]
|
||||
|
@ -310,7 +309,7 @@ impl TextInput {
|
|||
},
|
||||
// printable characters have single-character key values
|
||||
c if c.len() == 1 => {
|
||||
self.insert_char(c.char_at(0));
|
||||
self.insert_char(c.chars().next().unwrap());
|
||||
KeyReaction::DispatchInput
|
||||
}
|
||||
"Space" => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue