Skip to content

Commit e66f93b

Browse files
docs(linter): fix backtick formatting in no-return-wrap (#13633)
Co-authored-by: Josh Goldberg ✨ <git@joshuakgoldberg.com>
1 parent babbaca commit e66f93b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/oxc_linter/src/rules/promise/no_return_wrap.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ declare_oxc_lint!(
5252
///
5353
/// ### Why is this bad?
5454
///
55-
/// It is unnecessary to use `Promise.resolve` and Promise.reject` for converting raw values
55+
/// It is unnecessary to use `Promise.resolve` and `Promise.reject` for converting raw values
5656
/// to promises in the return statements of `then` and `catch` callbacks. Using these
5757
/// operations to convert raw values to promises is unnecessary as simply returning the raw
5858
/// value for the success case and throwing the raw error value in the failure case have the

0 commit comments

Comments
 (0)