1
1
mirror of https://github.com/wez/wezterm.git synced 2024-12-23 13:21:38 +03:00

fix warning

This commit is contained in:
Wez Furlong 2019-03-04 22:44:09 +00:00
parent 75be9d31cc
commit 2bfc4fe401

View File

@ -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");