Skip to content

Commit

Permalink
docs(linter): fix typos (#5591)
Browse files Browse the repository at this point in the history
  • Loading branch information
eventualbuddha authored Sep 7, 2024
1 parent 2661d8b commit 8c9179d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/oxc_linter/src/fixer/fix.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ bitflags! {
/// These are also used by the `LintService` to decide which kinds of
/// changes to apply.
///
/// [`FixKind`] is designed to be interopable with [`bool`]. `true` turns
/// [`FixKind`] is designed to be interoperable with [`bool`]. `true` turns
/// into [`FixKind::Fix`] (applies only safe fixes) and `false` turns into
/// [`FixKind::None`] (do not apply any fixes or suggestions).
#[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)]
Expand Down Expand Up @@ -201,7 +201,7 @@ impl<'a> RuleFix<'a> {
/// fixer.delete(bad_node).dangerously()
/// }
///
/// is_dangerous(bad_node: &Expression<'_>) -> bool {
/// fn is_dangerous(bad_node: &Expression<'_>) -> bool {
/// // some check on bad_node
/// # true
/// }
Expand Down

0 comments on commit 8c9179d

Please sign in to comment.