diff options
Diffstat (limited to 'src/ext.rs')
-rw-r--r-- | src/ext.rs | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -129,7 +129,13 @@ mod private { impl Sealed for Ident {} - #[derive(Copy, Clone)] pub struct PeekFn; pub struct IdentAny; + + impl Copy for PeekFn {} + impl Clone for PeekFn { + fn clone(&self) -> Self { + *self + } + } } |