Skip to content

Commit d27a71e

Browse files
committed
Rust: Minor fixes.
1 parent 5570523 commit d27a71e

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

rust/ql/src/queries/security/CWE-312/CleartextLogging.qhelp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<p>
88
Sensitive user data and system information that is logged could be seen by an attacker when it is
99
displayed. Also, external processes often store the standard output and standard error streams of
10-
an application, which will include logged sensitive information.</p>
10+
an application, which will include logged sensitive information.
1111
</p>
1212
</overview>
1313

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
let password = "P@ssw0rd";
2-
info!("User password changed to {password}")
2+
info!("User password changed to {password}");
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
let password = "P@ssw0rd"
2-
info!("User password changed")
1+
let password = "P@ssw0rd";
2+
info!("User password changed");

0 commit comments

Comments
 (0)