oxilean_parse/notation_system/scopeguard_traits.rs
1//! # ScopeGuard - Trait Implementations
2//!
3//! This module contains trait implementations for `ScopeGuard`.
4//!
5//! ## Implemented Traits
6//!
7//! - `Drop`
8//!
9//! 🤖 Generated with [SplitRS](https://github.com/cool-japan/splitrs)
10
11use super::types::ScopeGuard;
12
13impl<'a> Drop for ScopeGuard<'a> {
14 fn drop(&mut self) {
15 self.env.pop_scope();
16 }
17}