Skip to content

Commit ea2eafb

Browse files
committed
---
yaml --- r: 49151 b: refs/heads/master c: 78b6e37 h: refs/heads/master i: 49149: 50481b4 49147: a64e118 49143: 1bacaaa 49135: e8ee021 49119: 8792f9e 49087: b573e96 49023: c4fbbd8 48895: 476da43 48639: 5ba7898 48127: ebe9b50 47103: f0d6e8a 45055: cc1aa32 40959: a2875c3 32767: 8d500fe v: v3
1 parent 99c493e commit ea2eafb

File tree

4 files changed

+5
-48
lines changed

4 files changed

+5
-48
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
refs/heads/master: bef5396af68b5a7d181bef70a920a910416d9094
2+
refs/heads/master: 78b6e375dfd9b1b80bde0881a39501186e82999f
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: f7a2371c176663d59062ec5158f39faecba45768
55
refs/heads/try: 2a8fb58d79e685d5ca07b039badcf2ae3ef077ea

trunk/src/etc/kate/rust.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@
6969
<item> Shl </item>
7070
<item> Shr </item>
7171
<item> Index </item>
72+
<item> Not </item>
7273
</list>
7374
<list name="types">
7475
<item> bool </item>

trunk/src/libcore/clone.rs

Lines changed: 0 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -19,31 +19,3 @@ impl Clone for () {
1919
#[inline(always)]
2020
fn clone(&self) -> () { () }
2121
}
22-
23-
macro_rules! clone_impl(
24-
($t:ty) => {
25-
impl Clone for $t {
26-
#[inline(always)]
27-
fn clone(&self) -> $t { *self }
28-
}
29-
}
30-
)
31-
32-
clone_impl!(int)
33-
clone_impl!(i8)
34-
clone_impl!(i16)
35-
clone_impl!(i32)
36-
clone_impl!(i64)
37-
38-
clone_impl!(uint)
39-
clone_impl!(u8)
40-
clone_impl!(u16)
41-
clone_impl!(u32)
42-
clone_impl!(u64)
43-
44-
clone_impl!(float)
45-
clone_impl!(f32)
46-
clone_impl!(f64)
47-
48-
clone_impl!(bool)
49-
clone_impl!(char)
Lines changed: 3 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,8 @@
11
#[deriving_clone]
22
struct S {
3-
_int: int,
4-
_i8: i8,
5-
_i16: i16,
6-
_i32: i32,
7-
_i64: i64,
8-
9-
_uint: uint,
10-
_u8: u8,
11-
_u16: u16,
12-
_u32: u32,
13-
_u64: u64,
14-
15-
_float: float,
16-
_f32: f32,
17-
_f64: f64,
18-
19-
_bool: bool,
20-
_char: char,
21-
_nil: ()
3+
foo: (),
4+
bar: ()
225
}
236

247
fn main() {}
8+

0 commit comments

Comments
 (0)