Skip to content

Commit

Permalink
style(ast): move crate doc comment to top of file (oxc-project#6890)
Browse files Browse the repository at this point in the history
Docs are more important than clippy, so docs go first!
  • Loading branch information
overlookmotel committed Oct 25, 2024
1 parent 6eeb0e6 commit 262b2ed
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions crates/oxc_ast/src/lib.rs
Original file line number Diff line number Diff line change
@@ -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.
Expand Down Expand Up @@ -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;

Expand Down

0 comments on commit 262b2ed

Please sign in to comment.