mirror of
https://github.com/wez/wezterm.git
synced 2024-12-23 13:21:38 +03:00
fix warning
This commit is contained in:
parent
75be9d31cc
commit
2bfc4fe401
@ -313,7 +313,7 @@ mod test {
|
||||
let f: Future<usize> = p
|
||||
.get_future()
|
||||
.unwrap()
|
||||
.map(|value| Err(err_msg("boo")))
|
||||
.map(|_value| Err(err_msg("boo")))
|
||||
.map_err(|err| Err(format_err!("whoops: {}", err)));
|
||||
p.ok(1);
|
||||
assert_eq!(format!("{}", f.wait().unwrap_err()), "whoops: boo");
|
||||
|
Loading…
Reference in New Issue
Block a user