We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 29d7c99 commit 4877a25Copy full SHA for 4877a25
src/webserver/content_security_policy.rs
@@ -59,6 +59,7 @@ impl<'de> Deserialize<'de> for ContentSecurityPolicyTemplate {
59
}
60
61
impl ContentSecurityPolicy {
62
+ #[must_use]
63
pub fn new(template: ContentSecurityPolicyTemplate) -> Self {
64
Self {
65
nonce: random(),
0 commit comments