Skip to content

Commit

Permalink
Fix issue when compiling on 1.65
Browse files Browse the repository at this point in the history
  • Loading branch information
JelteF committed Jun 15, 2024
1 parent 39ad36f commit 461db95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/syn_compat.rs
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ fn parse_meta_path(input: ParseStream) -> Result<Path> {
})
}

pub fn parse_meta_after_path(path: Path, input: ParseStream) -> Result<ParsedMeta> {
pub(crate) fn parse_meta_after_path(path: Path, input: ParseStream) -> Result<ParsedMeta> {
if input.peek(token::Paren) {
parse_meta_list_after_path(path, input).map(ParsedMeta::List)
} else if input.peek(Token![=]) {
Expand Down

0 comments on commit 461db95

Please sign in to comment.