Skip to content

Commit 4877a25

Browse files
committed
clippy
1 parent 29d7c99 commit 4877a25

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/webserver/content_security_policy.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ impl<'de> Deserialize<'de> for ContentSecurityPolicyTemplate {
5959
}
6060

6161
impl ContentSecurityPolicy {
62+
#[must_use]
6263
pub fn new(template: ContentSecurityPolicyTemplate) -> Self {
6364
Self {
6465
nonce: random(),

0 commit comments

Comments
 (0)