Skip to content

Instantly share code, notes, and snippets.

@badboy
Created November 16, 2020 13:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save badboy/76130c12808616f86247d401c68809bd to your computer and use it in GitHub Desktop.
Save badboy/76130c12808616f86247d401c68809bd to your computer and use it in GitHub Desktop.
0:10.83 warning: unused variable: `v`
0:10.83 --> /home/jer/mozilla/src/gecko/obj/toolkit/components/glean/api/src/metrics.rs:411:64
0:10.83 |
0:10.83 411 | let extra = extra.map(|m| m.into_iter().map(|(k, v)| (k.try_into().unwrap(), v)).collect());
0:10.83 | ^ help: if this is intentional, prefix it with an underscore: `_v`
0:10.83 |
0:10.83 = note: `#[warn(unused_variables)]` on by default
0:10.83 warning: 1 warning emitted
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment