Skip to content

Commit

Permalink
Fix fun new clippy warning
Browse files Browse the repository at this point in the history
  • Loading branch information
lrstewart committed Apr 17, 2024
1 parent 17225cc commit d9905db
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bindings/rust/s2n-tls/src/security.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,10 @@ impl fmt::Debug for Policy {
f.debug_tuple("Policy").field(&self.as_cstr()).finish()
}
}

macro_rules! policy {
($version:expr) => {
Policy(Context::Static(concat!($version, "\0").as_bytes()));
Policy(Context::Static(concat!($version, "\0").as_bytes()))
};
}

Expand Down

0 comments on commit d9905db

Please sign in to comment.