Skip to content

Commit

Permalink
fix(docs): typo in no_double_equals.rs (#3730)
Browse files Browse the repository at this point in the history
  • Loading branch information
shubh73 authored Aug 28, 2024
1 parent 60b7395 commit 3483800
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ declare_lint_rule! {
///
/// It is generally bad practice to use `==` for comparison instead of
/// `===`. Double operators will trigger implicit [type coercion](https://developer.mozilla.org/en-US/docs/Glossary/Type_coercion)
/// and are thus not prefered. Using strict equality operators is almost
/// and are thus not preferred. Using strict equality operators is almost
/// always best practice.
///
/// For ergonomic reasons, this rule makes by default an exception for `== null` for
Expand Down

0 comments on commit 3483800

Please sign in to comment.