[go: up one dir, main page]

scopeguard 0.3.3

A RAII scope guard that will run a given closure when it goes out of scope, even if the code between panics (assuming unwinding panic). Defines the macros `defer!` and `defer_on_unwind!`; the latter only runs if the scope is extited through unwinding on panic.
Documentation
Build #73365 2017-10-13 16:57:45
# rustc version
rustc 1.22.0-dev (b1cfd1750 2017-09-21)# docs.rs version
cratesfyi 0.4.2 (13da7b2 2017-10-12)# build log
Updating registry `https://github.com/rust-lang/crates.io-index`
Downloading scopeguard v0.3.3
Documenting scopeguard v0.3.3
Running `rustdoc --crate-name scopeguard .cargo/registry/src/github.com-1ecc6299db9ec823/scopeguard-0.3.3/src/lib.rs -o /home/cratesfyi/cratesfyi/doc --cfg 'feature="default"' --cfg 'feature="use_std"' -L dependency=/home/cratesfyi/cratesfyi/debug/deps`
Finished dev [unoptimized + debuginfo] target(s) in 0.45 secs