about summary refs log tree commit diff
path: root/src/libstd/rt/thread.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2014-05-30 11:01:37 -0700
committerbors <bors@rust-lang.org>2014-05-30 11:01:37 -0700
commit24e489f1e1326208aecabf390879c2320f212b7c (patch)
tree3f2ee7bcb73a0789677d57f7dfdf609932b75c38 /src/libstd/rt/thread.rs
parent36c2c56277b368e5200fc4a7e8ed6752562ce030 (diff)
parent030b3a2499a73a6d3b4629ad676d2d9cd6a79df0 (diff)
downloadrust-24e489f1e1326208aecabf390879c2320f212b7c.tar.gz
rust-24e489f1e1326208aecabf390879c2320f212b7c.zip
auto merge of #14520 : Ryman/rust/SnakeCaseLint, r=alexcrichton
This enforces `snake_case` for functions and methods only. Might be worth extending it to fields and locals too at some point in the future.

A number of breaking changes each detailed in the attached commits.
Diffstat (limited to 'src/libstd/rt/thread.rs')
-rw-r--r--src/libstd/rt/thread.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libstd/rt/thread.rs b/src/libstd/rt/thread.rs
index 6cc9604dc59..81dcf909706 100644
--- a/src/libstd/rt/thread.rs
+++ b/src/libstd/rt/thread.rs
@@ -199,6 +199,7 @@ mod imp {
         SwitchToThread();
     }
 
+    #[allow(non_snake_case_functions)]
     extern "system" {
         fn CreateThread(lpThreadAttributes: LPSECURITY_ATTRIBUTES,
                         dwStackSize: SIZE_T,