Skip to content

Commit cc9c414

Browse files
authored
Apply suggestions from code review
1 parent 3de1911 commit cc9c414

File tree

1 file changed

+1
-1
lines changed
  • rust/ql/test/query-tests/security/CWE-614

1 file changed

+1
-1
lines changed

rust/ql/test/query-tests/security/CWE-614/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ fn test_biscotti() {
167167
cookies.insert(i.clone().make_permanent()); // $ Alert[rust/insecure-cookie]
168168
}
169169

170-
fn test_qhelp_examples() {use cookie::Cookie;
170+
fn test_qhelp_examples() {
171171
{
172172
// BAD: creating a cookie without specifying the `secure` attribute
173173
let cookie = Cookie::build(("session", "abcd1234")).build(); // $ Alert[rust/insecure-cookie]

0 commit comments

Comments
 (0)