We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3a2f3e0 commit 7b3c506Copy full SHA for 7b3c506
src/header/map.rs
@@ -1152,7 +1152,7 @@ impl<T> HeaderMap<T> {
1152
danger,
1153
// Vacant
1154
{
1155
- drop(danger); // Make lint happy
+ let _ = danger; // Make lint happy
1156
let index = self.entries.len();
1157
self.insert_entry(hash, key.into(), value);
1158
self.indices[probe] = Pos::new(index, hash);
@@ -1255,7 +1255,7 @@ impl<T> HeaderMap<T> {
1255
1256
1257
1258
- drop(danger);
+ let _ = danger;
1259
1260
1261
0 commit comments