]> git.lizzy.rs Git - rust.git/commitdiff
rustup
authorManish Goregaokar <manishsmail@gmail.com>
Fri, 19 Dec 2014 09:11:00 +0000 (14:41 +0530)
committerManish Goregaokar <manishsmail@gmail.com>
Fri, 19 Dec 2014 09:11:00 +0000 (14:41 +0530)
src/misc.rs
src/types.rs

index 2a77ecc3467bd57ff94875baf3b3dfc7c1415434..681959949077a50170e6b664468c1b7aa2e0e17b 100644 (file)
@@ -13,7 +13,7 @@
 
 
 declare_lint!(CLIPPY_SINGLE_MATCH, Warn,
-              "Warn on usage of matches with a single nontrivial arm")
+              "Warn on usage of matches with a single nontrivial arm");
 
 impl LintPass for MiscPass {
     fn get_lints(&self) -> LintArray {
@@ -47,7 +47,7 @@ fn check_expr(&mut self, cx: &Context, expr: &Expr) {
 }
 
 
-declare_lint!(CLIPPY_STR_TO_STRING, Warn, "Warn when a String could use into_string() instead of to_string()")
+declare_lint!(CLIPPY_STR_TO_STRING, Warn, "Warn when a String could use into_string() instead of to_string()");
 
 pub struct StrToStringPass;
 
index c3fd333a5b8ef907ff8d3b18975897adcb46bee7..c418fdb7fe8d65b3277b2db5f1dafc0cc3adef4c 100644 (file)
@@ -10,9 +10,9 @@
 pub struct TypePass;
 
 declare_lint!(CLIPPY_BOX_VEC, Warn,
-              "Warn on usage of Box<Vec<T>>")
+              "Warn on usage of Box<Vec<T>>");
 declare_lint!(CLIPPY_DLIST, Warn,
-              "Warn on usage of DList")
+              "Warn on usage of DList");
 
 /// Matches a type with a provided string, and returns its type parameters if successful
 pub fn match_ty_unwrap<'a>(ty: &'a Ty, segments: &[&str]) -> Option<&'a [P<Ty>]> {