From 946ac73d5fbb62d3a6f26fa9d808a445ea3afac0 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 4ddc76c2e6838f..ad3638d21f7b68 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