Skip to content

Commit

Permalink
chore: revert should_disable_comments behavior
Browse files Browse the repository at this point in the history
Avoid behavioral changes in the Context refactoring.
  • Loading branch information
mzabaluev committed Jan 19, 2025
1 parent 146871e commit 34cf0af
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions prost-build/src/context.rs
Original file line number Diff line number Diff line change
Expand Up @@ -243,8 +243,9 @@ impl<'a> Context<'a> {
} else {
self.config
.disable_comments
.get_first(fq_message_name)
.is_some()
.get(fq_message_name)
.next()
.is_none()
}
}

Expand Down

0 comments on commit 34cf0af

Please sign in to comment.