mirror of
https://github.com/danbulant/oxc
synced 2026-05-19 04:08:41 +00:00
style(ast): move crate doc comment to top of file (#6890)
Docs are more important than clippy, so docs go first!
This commit is contained in:
parent
6eeb0e6385
commit
262b2ed1ce
1 changed files with 5 additions and 5 deletions
|
|
@ -1,8 +1,3 @@
|
|||
// TODO: I'm not sure if it is a but or intentional but clippy needs this allowed both on this
|
||||
// module and the generated one.
|
||||
#![allow(clippy::self_named_module_files)]
|
||||
#![warn(missing_docs)]
|
||||
|
||||
//! # Oxc AST (Abstract Syntax Tree) Nodes
|
||||
//!
|
||||
//! Supports JavaScript, TypeScript and JSX.
|
||||
|
|
@ -44,6 +39,11 @@
|
|||
//! [tsc]: <https://github.com/microsoft/TypeScript>
|
||||
//! [`Traverse`]: <https://github.com/oxc-project/oxc/tree/main/crates/oxc_traverse>
|
||||
|
||||
// TODO: I'm not sure if it is a but or intentional but clippy needs this allowed both on this
|
||||
// module and the generated one.
|
||||
#![allow(clippy::self_named_module_files)]
|
||||
#![warn(missing_docs)]
|
||||
|
||||
#[cfg(feature = "serialize")]
|
||||
mod serialize;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue