mirror of
https://github.com/servo/servo.git
synced 2025-08-04 21:20:23 +01:00
Update rustc to 00b112c45a604fa6f4b59af2a40c9deeadfdb7c6/rustc-1.0.0-dev.
This commit is contained in:
parent
ff8cbff810
commit
95fc29fa0d
255 changed files with 3550 additions and 3362 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue