]> git.lizzy.rs Git - rust.git/blobdiff - src/etc/check_missing_items.py
Fix doc links in core::time::Duration::as_secs
[rust.git] / src / etc / check_missing_items.py
index 343dd0387f47987c011c2334c80f0c8d0f914ea4..a705e2384959f1b8ad56db2d1a2ce3d2e44d9fc7 100644 (file)
@@ -88,8 +88,8 @@ def check_type(ty):
                         for bound in binding["binding"]["constraint"]:
                             check_generic_bound(bound)
             elif "parenthesized" in args:
-                for ty in args["parenthesized"]["inputs"]:
-                    check_type(ty)
+                for input_ty in args["parenthesized"]["inputs"]:
+                    check_type(input_ty)
                 if args["parenthesized"]["output"]:
                     check_type(args["parenthesized"]["output"])
         if not valid_id(ty["inner"]["id"]):