scopeguard 0.3.0

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 #36073 2016-12-11T16:15:14.661606+00:00
# rustc version
rustc 1.14.0-nightly (cae6ab1c4 2016-11-05)
# docs.rs version
cratesfyi 0.2.2 (4f7a57c 2016-10-20)

# build log
Updating registry `https://github.com/rust-lang/crates.io-index`
Downloading scopeguard v0.3.0
Documenting scopeguard v0.3.0
Running `rustdoc .cargo/registry/src/github.com-1ecc6299db9ec823/scopeguard-0.3.0/src/lib.rs --crate-name scopeguard -o /home/cratesfyi/scopeguard-0.3.0/doc --cfg feature=\"use_std\" --cfg feature=\"default\" -L dependency=/home/cratesfyi/scopeguard-0.3.0/debug/deps`
Finished debug [unoptimized + debuginfo] target(s) in 0.17 secs