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 596574e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion prost-build/src/context.rs
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,8 @@ impl<'a> Context<'a> {
} else {
self.config
.disable_comments
.get_first(fq_message_name)
.get(fq_message_name)
.next()
.is_some()
}
}
Expand Down

0 comments on commit 596574e

Please sign in to comment.