From 9f5545dcdce55b536ffd50a5ffc717602e2d5bd3 Mon Sep 17 00:00:00 2001 From: overlookmotel Date: Thu, 5 Sep 2024 16:55:22 +0100 Subject: [PATCH] refactor(transformer): re-order imports --- crates/oxc_transformer/src/regexp/mod.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/crates/oxc_transformer/src/regexp/mod.rs b/crates/oxc_transformer/src/regexp/mod.rs index 2ad1e5e2299567..31c3b26a6f3438 100644 --- a/crates/oxc_transformer/src/regexp/mod.rs +++ b/crates/oxc_transformer/src/regexp/mod.rs @@ -40,11 +40,8 @@ //! - @babel/plugin-transform-unicode-sets-regex: //! - TC39 Proposal: -mod options; - use std::borrow::Cow; -pub use options::RegExpOptions; use oxc_ast::ast::*; use oxc_diagnostics::Result; use oxc_regular_expression::ast::{ @@ -56,6 +53,9 @@ use oxc_traverse::{Traverse, TraverseCtx}; use crate::context::Ctx; +mod options; +pub use options::RegExpOptions; + pub struct RegExp<'a> { ctx: Ctx<'a>, unsupported_flags: RegExpFlags,