Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 713e875

Browse files
committedApr 14, 2014
Use new attribute syntax in python files in src/etc too (rust-lang#13478)
1 parent e2e7548 commit 713e875

File tree

473 files changed

+607
-607
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

473 files changed

+607
-607
lines changed
 

‎src/etc/generate-deriving-span-tests.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
3838
// This file was auto-generated using 'src/etc/generate-keyword-span-tests.py'
3939
40-
#[feature(struct_variant)];
40+
#![feature(struct_variant)]
4141
extern crate rand;
4242
4343
{error_deriving}

‎src/etc/unicode.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -411,8 +411,8 @@ def emit_decomp_module(f, canon, compat, combine):
411411
412412
// The following code was generated by "src/etc/unicode.py"
413413
414-
#[allow(missing_doc)];
415-
#[allow(non_uppercase_statics)];
414+
#![allow(missing_doc)]
415+
#![allow(non_uppercase_statics)]
416416
417417
''')
418418

0 commit comments

Comments
 (0)
Please sign in to comment.