]> git.lizzy.rs Git - rust.git/blobdiff - clippy_utils/src/sugg.rs
Move is_const_fn to under TyCtxt
[rust.git] / clippy_utils / src / sugg.rs
index 65d93e8f86e43f1c7953d83f45721bb9add27c43..ab05a0b423853f245ca00b5d2f940383da0d8ef9 100644 (file)
@@ -329,7 +329,7 @@ fn has_enclosing_paren(sugg: impl AsRef<str>) -> bool {
     }
 }
 
-// Copied from the rust standart library, and then edited
+/// Copied from the rust standard library, and then edited
 macro_rules! forward_binop_impls_to_ref {
     (impl $imp:ident, $method:ident for $t:ty, type Output = $o:ty) => {
         impl $imp<$t> for &$t {