Macro cargo_test_support::t

source ·
macro_rules! t {
    ($e:expr) => { ... };
}
Expand description

Unwrap a Result with a useful panic message

§Example

use cargo_test_support::t;
t!(std::fs::read_to_string("Cargo.toml"));