From 7ae15c6e0a127ebc7c8fa899dbd821b546abeb41 Mon Sep 17 00:00:00 2001 From: Carl Meyer Date: Thu, 11 Apr 2024 18:43:52 -0600 Subject: [PATCH] Fix comment copy/paste typo in newtype_index (#10892) ## Summary This comment looks wrongly copy-pasted from the comment above, and mentions the wrong type. ## Test Plan Comment-only change. --- crates/ruff_macros/src/newtype_index.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/ruff_macros/src/newtype_index.rs b/crates/ruff_macros/src/newtype_index.rs index 4ddc76c2e6838..ad3638d21f7b6 100644 --- a/crates/ruff_macros/src/newtype_index.rs +++ b/crates/ruff_macros/src/newtype_index.rs @@ -71,7 +71,7 @@ pub(super) fn generate_newtype_index(item: ItemStruct) -> syn::Result usize { self.as_u32() as usize