std: Fix tests with io_error usage
This commit is contained in:
@@ -541,7 +541,7 @@ fn test_avoid_copying_the_body_task_spawn() {
|
||||
#[test]
|
||||
fn test_avoid_copying_the_body_try() {
|
||||
avoid_copying_the_body(|f| {
|
||||
try(proc() {
|
||||
let _ = try(proc() {
|
||||
f()
|
||||
});
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user