defer 0.2.1

Utility to defer excecution of code, inspired by go's defer statement.
Documentation
  • Coverage
  • 66.67%
    2 out of 3 items documented0 out of 1 items with examples
  • Size
  • Source code size: 15.56 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 131.54 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Links
  • andrewhickman/defer
    23 3 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • andrewhickman

crates.io docs.rs

defer

A small crate which provides the defer! macro, to delay execution of an expression until the end of the scope.

Consider using the scopeguard crate instead, which has many more features.

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.