From f5ccc2fe6f794f860b3923db6b7ebb00523863cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ho=C3=A0ng=20=C4=90=E1=BB=A9c=20Hi=E1=BA=BFu?= Date: Thu, 24 Nov 2016 16:10:22 +0700 Subject: [PATCH] useless_format: fix typo --- clippy_lints/src/format.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clippy_lints/src/format.rs b/clippy_lints/src/format.rs index 33db64e0cef..5a2c5f5c852 100644 --- a/clippy_lints/src/format.rs +++ b/clippy_lints/src/format.rs @@ -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. ///