Skip to content

Commit

Permalink
Rename ModSep to PathSep
Browse files Browse the repository at this point in the history
  • Loading branch information
fmease committed Apr 4, 2024
1 parent 11b28d4 commit a1e76af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clippy_lints/src/crate_in_macro_def.rs
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ fn contains_unhygienic_crate_reference(tts: &TokenStream) -> Option<Span> {
if !prev_is_dollar
&& let Some(span) = is_crate_keyword(curr)
&& let Some(next) = cursor.look_ahead(0)
&& is_token(next, &TokenKind::ModSep)
&& is_token(next, &TokenKind::PathSep)
{
return Some(span);
}
Expand Down

0 comments on commit a1e76af

Please sign in to comment.