useless_format: fix typo

This commit is contained in:
Hoàng Đức Hiếu 2016-11-24 16:10:22 +07:00 committed by GitHub
parent 0b7de0d01f
commit f5ccc2fe6f

View 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.
///