Skip to content

Commit 7aef3d8

Browse files
committed
Update to current rust: use the new attributes syntax.
Builds with rust-lang/rust@e263ef1.
1 parent 6ea8623 commit 7aef3d8

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

lib.rs

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,12 @@
22
* License, v. 2.0. If a copy of the MPL was not distributed with this
33
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
44

5-
#[crate_id = "github.com/mozilla-servo/rust-cssparser#cssparser:0.1"];
6-
#[feature(globs, macro_rules)];
7-
#[crate_type = "lib"];
8-
#[crate_type = "dylib"];
9-
#[crate_type = "rlib"];
5+
#![crate_id = "github.com/mozilla-servo/rust-cssparser#cssparser:0.1"]
6+
#![crate_type = "lib"]
7+
#![crate_type = "dylib"]
8+
#![crate_type = "rlib"]
9+
10+
#![feature(globs, macro_rules)]
1011

1112
extern crate encoding; // https://github.com/lifthrasiir/rust-encoding
1213

0 commit comments

Comments
 (0)