diff options
author | Josh Matthews <josh@joshmatthews.net> | 2015-01-15 13:26:44 -0500 |
---|---|---|
committer | Glenn Watson <gw@intuitionlibrary.com> | 2015-01-28 10:16:49 +1000 |
commit | 95fc29fa0db21959df99d81cdbb9561226321d2f (patch) | |
tree | a48e171165ec155062ef13c550b2c0f72d127425 /components/script/textinput.rs | |
parent | ff8cbff81016c157373c1675f3eee69dd70ae544 (diff) | |
download | servo-95fc29fa0db21959df99d81cdbb9561226321d2f.tar.gz servo-95fc29fa0db21959df99d81cdbb9561226321d2f.zip |
Update rustc to 00b112c45a604fa6f4b59af2a40c9deeadfdb7c6/rustc-1.0.0-dev.
Diffstat (limited to 'components/script/textinput.rs')
-rw-r--r-- | components/script/textinput.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/components/script/textinput.rs b/components/script/textinput.rs index 4c4226738cf..fa9ad4eacff 100644 --- a/components/script/textinput.rs +++ b/components/script/textinput.rs @@ -14,14 +14,14 @@ use std::cmp::{min, max}; use std::default::Default; use std::num::SignedInt; -#[deriving(Copy, PartialEq)] +#[derive(Copy, PartialEq)] enum Selection { Selected, NotSelected } #[jstraceable] -#[deriving(Copy)] +#[derive(Copy)] struct TextPoint { /// 0-based line number line: uint, @@ -59,14 +59,14 @@ impl Default for TextPoint { } /// Control whether this control should allow multiple lines. -#[deriving(PartialEq)] +#[derive(PartialEq)] pub enum Lines { Single, Multiple, } /// The direction in which to delete a character. -#[deriving(PartialEq)] +#[derive(PartialEq)] enum DeleteDir { Forward, Backward |