swc_ecma_quote/
clone.rs

1
2
3
4
5
6
7
8
9
10
//! Module for implicitly copyable types.

/// Noop
pub trait ImplicitClone: Clone {
    fn clone_quote_var(&self) -> Self {
        self.clone()
    }
}

impl<T: Clone> ImplicitClone for T {}