http-error: fix a warning in tests

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
Wolfgang Bumiller 2024-08-06 14:22:25 +02:00
parent 15c64a5d00
commit a7ab26a9d8

View File

@ -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]