]> git.lizzy.rs Git - rust.git/blobdiff - src/tools/clippy/clippy_lints/src/fallible_impl_from.rs
Auto merge of #71780 - jcotton42:string_remove_matches, r=joshtriplett
[rust.git] / src / tools / clippy / clippy_lints / src / fallible_impl_from.rs
index 6d522c7ef3398d231cdd10244b2e8c47054b45fd..f466dddc13c2044d7320f04fac2cec42403da220 100644 (file)
@@ -133,7 +133,7 @@ fn nested_visit_map(&mut self) -> NestedVisitorMap<Self::Map> {
                         move |diag| {
                             diag.help(
                                 "`From` is intended for infallible conversions only. \
-                                Use `TryFrom` if there's a possibility for the conversion to fail.");
+                                Use `TryFrom` if there's a possibility for the conversion to fail");
                             diag.span_note(fpu.result, "potential failure(s)");
                         });
                 }