Crates.io | defer |
lib.rs | defer |
version | 0.2.1 |
source | src |
created_at | 2018-04-02 21:09:54.088684 |
updated_at | 2024-01-29 22:47:26.245262 |
description | Utility to defer excecution of code, inspired by go's defer statement. |
homepage | |
repository | https://github.com/andrewhickman/defer/ |
max_upload_size | |
id | 58703 |
size | 15,904 |
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.
Licensed under either of
at your option.
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.