Apply suggestions from code review

This commit is contained in:
Geoffrey White
2025-09-22 16:54:08 +01:00
committed by GitHub
parent 3de191177c
commit cc9c4149d7

View File

@@ -167,7 +167,7 @@ fn test_biscotti() {
cookies.insert(i.clone().make_permanent()); // $ Alert[rust/insecure-cookie]
}
fn test_qhelp_examples() {use cookie::Cookie;
fn test_qhelp_examples() {
{
// BAD: creating a cookie without specifying the `secure` attribute
let cookie = Cookie::build(("session", "abcd1234")).build(); // $ Alert[rust/insecure-cookie]