scopeguard 0.3.1

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 #36074 2016-12-11T16:20:33.308970+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.1
Documenting scopeguard v0.3.1
Running `rustdoc .cargo/registry/src/github.com-1ecc6299db9ec823/scopeguard-0.3.1/src/lib.rs --crate-name scopeguard -o /home/cratesfyi/scopeguard-0.3.1/doc --cfg feature=\"default\" --cfg feature=\"use_std\" -L dependency=/home/cratesfyi/scopeguard-0.3.1/debug/deps`
Finished debug [unoptimized + debuginfo] target(s) in 0.19 secs