Skip to content

Commit f42f82c

Browse files
authored
Merge pull request #838 from wedsonaf/static-name
rust: fix rust-analyzer warning in macro
2 parents a5d0b7d + d12a980 commit f42f82c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rust/macros/module.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ impl<'a> ModInfoBuilder<'a> {
8080
} else {
8181
"#[cfg(MODULE)]"
8282
},
83-
module = self.module,
83+
module = self.module.to_uppercase(),
8484
counter = self.counter,
8585
length = string.len(),
8686
string = Literal::byte_string(string.as_bytes()),

0 commit comments

Comments
 (0)