Skip to main content

Search

Items tagged with: guard


Man, I wish Rust had the 'defer' keyword 😞
Wait...

🦀 **scopeguard**: A Rust library for a convenient RAII scope guard.

🌀 Has a defer! macro.

🔥 Runs a closure on scope exit, even if a panic occurs.

⭐ GitHub: github.com/bluss/scopeguard

#rustlang #library #defer #scope #raii #guard #programming #pattern #opensource