]> git.lizzy.rs Git - rust.git/blobdiff - compiler/rustc_builtin_macros/src/format.rs
Auto merge of #107010 - weihanglo:update-cargo, r=weihanglo
[rust.git] / compiler / rustc_builtin_macros / src / format.rs
index 63bc0d552c11e7e24e17bbb45ff095590fd1f18b..9f4bbbc62c819e516273c409c89eeec3fc72877a 100644 (file)
@@ -583,7 +583,7 @@ fn report_missing_placeholders(
     if detect_foreign_fmt {
         use super::format_foreign as foreign;
 
-        // The set of foreign substitutions we've explained.  This prevents spamming the user
+        // The set of foreign substitutions we've explained. This prevents spamming the user
         // with `%d should be written as {}` over and over again.
         let mut explained = FxHashSet::default();
 
@@ -638,7 +638,7 @@ macro_rules! check_foreign {
                 if show_doc_note {
                     diag.note(concat!(
                         stringify!($kind),
-                        " formatting not supported; see the documentation for `std::fmt`",
+                        " formatting is not supported; see the documentation for `std::fmt`",
                     ));
                 }
                 if suggestions.len() > 0 {