From 262b2ed1ce890851b8aef07738a9b6f32d724463 Mon Sep 17 00:00:00 2001 From: overlookmotel <557937+overlookmotel@users.noreply.github.com> Date: Fri, 25 Oct 2024 14:31:35 +0000 Subject: [PATCH] style(ast): move crate doc comment to top of file (#6890) Docs are more important than clippy, so docs go first! --- crates/oxc_ast/src/lib.rs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/crates/oxc_ast/src/lib.rs b/crates/oxc_ast/src/lib.rs index 5f498740e71fd..608b680547a9b 100644 --- a/crates/oxc_ast/src/lib.rs +++ b/crates/oxc_ast/src/lib.rs @@ -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]: //! [`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;