]> git.lizzy.rs Git - rust.git/commitdiff
useless_format: fix typo
authorHoàng Đức Hiếu <github@hdhoang.space>
Thu, 24 Nov 2016 09:10:22 +0000 (16:10 +0700)
committerGitHub <noreply@github.com>
Thu, 24 Nov 2016 09:10:22 +0000 (16:10 +0700)
clippy_lints/src/format.rs

index 33db64e0ceffbc961be3375b5f615d781b367c61..5a2c5f5c852e7e18b6ac6e7f725c1b23040c61d8 100644 (file)
@@ -14,7 +14,7 @@
 /// be replaced by `"foo".to_owned()` if you really need a `String`. The even
 /// worse `&format!("foo")` is often encountered in the wild. `format!("{}",
 /// foo)` can be replaced by `foo.clone()` if `foo: String` or `foo.to_owned()`
-/// is `foo: &str`.
+/// if `foo: &str`.
 ///
 /// **Known problems:** None.
 ///