about summary refs log tree commit diff
path: root/src/libnative/io/timer_timerfd.rs
diff options
context:
space:
mode:
authormr.Shu <mr@shu.io>2014-02-10 15:36:31 +0100
committermr.Shu <mr@shu.io>2014-02-21 08:11:52 +0100
commit70319f7b25e53d886cf15a33d2edb5220b1f736b (patch)
treefb1c802cf0dda90bf3895bf84ff14cf4af5da8d5 /src/libnative/io/timer_timerfd.rs
parentd70f909fa3bdc1c8231f127882cc30f274b263d1 (diff)
downloadrust-70319f7b25e53d886cf15a33d2edb5220b1f736b.tar.gz
rust-70319f7b25e53d886cf15a33d2edb5220b1f736b.zip
Changed NonCamelCaseTypes lint to warn by default
Added allow(non_camel_case_types) to librustc where necesary

Tried to fix problems with non_camel_case_types outside rustc

fixed failing tests

Docs updated

Moved #[allow(non_camel_case_types)] a level higher.

markdown.rs reverted

Fixed timer that was failing tests

Fixed another timer
Diffstat (limited to 'src/libnative/io/timer_timerfd.rs')
-rw-r--r--src/libnative/io/timer_timerfd.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/libnative/io/timer_timerfd.rs b/src/libnative/io/timer_timerfd.rs
index 434794e32cb..b1ae5820888 100644
--- a/src/libnative/io/timer_timerfd.rs
+++ b/src/libnative/io/timer_timerfd.rs
@@ -1,4 +1,4 @@
-// Copyright 2013 The Rust Project Developers. See the COPYRIGHT
+// Copyright 2013-2014 The Rust Project Developers. See the COPYRIGHT
 // file at the top-level directory of this distribution and at
 // http://rust-lang.org/COPYRIGHT.
 //
@@ -28,6 +28,8 @@
 //!
 //! As with timer_other, all units in this file are in units of millseconds.
 
+#[allow(non_camel_case_types)];
+
 use std::comm::Data;
 use std::libc;
 use std::ptr;