defer

Crates.iodefer
lib.rsdefer
version0.2.1
sourcesrc
created_at2018-04-02 21:09:54.088684
updated_at2024-01-29 22:47:26.245262
descriptionUtility to defer excecution of code, inspired by go's defer statement.
homepage
repositoryhttps://github.com/andrewhickman/defer/
max_upload_size
id58703
size15,904
Andrew Hickman (andrewhickman)

documentation

https://docs.rs/defer/

README

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.

Commit count: 3

cargo fmt