#macro #deprecated #resistant #work #warnings #try #try-macro

try

Deprecation warning resistant try macro

1 stable release

Uses old Rust 2015

1.0.0 Jun 5, 2017

#36 in #resistant

Apache2/MIT

7KB

try

A simple crate that only contains the try macro to work around deprecation warnings.


lib.rs:

A useful crate to avoid any possible deprecation warnings of the try macro.

Since the introduction of the ? operator, its supporters have preffered its use, ignoring the valid criticism of the ? operator almost hiding the error propagation operation. The try! operator is far more visible and thus doesn't hide the functionality, allowing for more readable code.

No runtime deps