Skip to content
This repository has been archived by the owner on Aug 31, 2023. It is now read-only.

Commit

Permalink
Fix release build
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaReiser committed Sep 30, 2022
1 parent a5327f0 commit 0949f6d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/rome_formatter/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1495,7 +1495,7 @@ impl<Context> FormatState<Context> {

#[cfg(not(debug_assertions))]
#[inline]
pub fn set_token_tracking_enabled(&mut self, _: bool) {}
pub fn set_token_tracking_disabled(&mut self, _: bool) {}

/// Disables or enables token tracking for a portion of the code.
///
Expand All @@ -1507,7 +1507,7 @@ impl<Context> FormatState<Context> {

#[cfg(not(debug_assertions))]
#[inline]
pub fn is_token_tracking_enabled(&self) -> bool {
pub fn is_token_tracking_disabled(&self) -> bool {
false
}

Expand Down

0 comments on commit 0949f6d

Please sign in to comment.