diff options
Diffstat (limited to 'vendor/h2/src/hpack/test/fixture.rs')
-rw-r--r-- | vendor/h2/src/hpack/test/fixture.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/h2/src/hpack/test/fixture.rs b/vendor/h2/src/hpack/test/fixture.rs index 0d33ca2de..d3f76e3bf 100644 --- a/vendor/h2/src/hpack/test/fixture.rs +++ b/vendor/h2/src/hpack/test/fixture.rs @@ -100,7 +100,7 @@ fn test_story(story: Value) { let mut input: Vec<_> = case .expect .iter() - .map(|&(ref name, ref value)| { + .map(|(name, value)| { Header::new(name.clone().into(), value.clone().into()) .unwrap() .into() |