mirror of
https://github.com/danbulant/oxc
synced 2026-05-24 12:21:58 +00:00
chore: fix all docs
This commit is contained in:
parent
4f22eaaf96
commit
35608c8eb1
3 changed files with 6 additions and 6 deletions
|
|
@ -325,7 +325,7 @@ pub(crate) use safe_byte_match_table;
|
|||
///
|
||||
/// Can also add a block to decide whether to continue searching for some matches:
|
||||
///
|
||||
/// ```
|
||||
/// ```text
|
||||
/// impl<'a> Lexer<'a> {
|
||||
/// fn eat_stuff(&mut self) -> bool {
|
||||
/// byte_search! {
|
||||
|
|
|
|||
|
|
@ -3,9 +3,9 @@ use std::str::FromStr;
|
|||
/// Prettier Options
|
||||
///
|
||||
/// References
|
||||
/// * https://prettier.io/docs/en/options
|
||||
/// * https://github.com/prettier/prettier/blob/main/src/main/core-options.evaluate.js
|
||||
/// * https://github.com/prettier/prettier/blob/main/src/language-js/options.js
|
||||
/// * <https://prettier.io/docs/en/options>
|
||||
/// * <https://github.com/prettier/prettier/blob/main/src/main/core-options.evaluate.js>
|
||||
/// * <https://github.com/prettier/prettier/blob/main/src/language-js/options.js>
|
||||
#[derive(Debug, Clone, Copy)]
|
||||
pub struct PrettierOptions {
|
||||
/* Global Options */
|
||||
|
|
|
|||
|
|
@ -28,11 +28,11 @@ pub struct ReactJsxOptions {
|
|||
|
||||
/// When spreading props, use Object.assign directly instead of Babel's extend helper.
|
||||
/// Use `Some<T>` instead of `bool` because we want to know if user set this field explicitly,
|
||||
/// which used for creating warning, https://github.com/oxc-project/oxc/blob/c3e2098c04d8916cb812bdd16d2026bb430ac25f/crates/oxc_transformer/src/react_jsx/mod.rs#L111-L114
|
||||
/// which used for creating warning, <https://github.com/oxc-project/oxc/blob/c3e2098c04d8916cb812bdd16d2026bb430ac25f/crates/oxc_transformer/src/react_jsx/mod.rs#L111-L114>
|
||||
pub use_built_ins: Option<bool>,
|
||||
/// When spreading props, use inline object with spread elements directly instead of Babel's extend helper or Object.assign.
|
||||
/// Use `Some<T>` instead of `bool` because we want to know if user set this field explicitly,
|
||||
/// which used for creating warning, https://github.com/oxc-project/oxc/blob/c3e2098c04d8916cb812bdd16d2026bb430ac25f/crates/oxc_transformer/src/react_jsx/mod.rs#L111-L114
|
||||
/// which used for creating warning, <https://github.com/oxc-project/oxc/blob/c3e2098c04d8916cb812bdd16d2026bb430ac25f/crates/oxc_transformer/src/react_jsx/mod.rs#L111-L114>
|
||||
pub use_spread: Option<bool>,
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue