oxc_regular_expression 0.143.0

A collection of JavaScript tools written in Rust.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use oxc_allocator::{Allocator, CloneIn, CloneInSemanticIds};

use crate::ast::Modifier;

impl<'alloc> CloneIn<'alloc> for Modifier {
    type Cloned = Self;

    fn clone_in_impl(
        &self,
        _with_semantic_ids: CloneInSemanticIds,
        _: &'alloc Allocator,
    ) -> Self::Cloned {
        *self
    }
}