oxc_regular_expression 0.132.0

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

use crate::ast::Modifier;

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

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