]> git.lizzy.rs Git - rust.git/blobdiff - src/tools/clippy/clippy_utils/src/macros.rs
Rollup merge of #96733 - SparrowLii:place_to_string, r=davidtwco
[rust.git] / src / tools / clippy / clippy_utils / src / macros.rs
index e7d4c5a49521d9ae21cec7b51e7512a5606630c0..a268e339bb130df99138102b739e6def1d44c640 100644 (file)
@@ -367,7 +367,7 @@ pub fn parse(cx: &LateContext<'_>, expr: &'tcx Expr<'tcx>) -> Option<Self> {
         expr_visitor_no_bodies(|e| {
             // if we're still inside of the macro definition...
             if e.span.ctxt() == expr.span.ctxt() {
-                // ArgumnetV1::new_<format_trait>(<value>)
+                // ArgumentV1::new_<format_trait>(<value>)
                 if_chain! {
                     if let ExprKind::Call(callee, [val]) = e.kind;
                     if let ExprKind::Path(QPath::TypeRelative(ty, seg)) = callee.kind;