From a7ab26a9d8201862c1b0d8d0b4c5c1eb9e66cc3c Mon Sep 17 00:00:00 2001 From: Wolfgang Bumiller Date: Tue, 6 Aug 2024 14:22:25 +0200 Subject: [PATCH] http-error: fix a warning in tests Signed-off-by: Wolfgang Bumiller --- proxmox-http-error/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proxmox-http-error/src/lib.rs b/proxmox-http-error/src/lib.rs index 1468668c..a8ccff7f 100644 --- a/proxmox-http-error/src/lib.rs +++ b/proxmox-http-error/src/lib.rs @@ -66,7 +66,7 @@ mod tests { #[test] fn test_http_err() { // Make sure the macro generates valid code. - http_err!(IM_A_TEAPOT, "Cannot brew coffee"); + let _ = http_err!(IM_A_TEAPOT, "Cannot brew coffee"); } #[test]