From 30da2e561861aaf0f762322ab66541b491d2e26c Mon Sep 17 00:00:00 2001 From: Rob Ede Date: Thu, 2 Dec 2021 14:59:41 +0000 Subject: [PATCH] fix macro --- src/http/header/macros.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/http/header/macros.rs b/src/http/header/macros.rs index 4ff377357..d91d1d282 100644 --- a/src/http/header/macros.rs +++ b/src/http/header/macros.rs @@ -63,7 +63,7 @@ macro_rules! common_header_test { } let req = req.finish(); let val = HeaderField::parse(&req); - let exp: Option = $typed; + let exp: Option = $exp; // test parsing assert_eq!(val.ok(), exp);