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 784ea96 commit 6820015Copy full SHA for 6820015
tests/internal.rs
@@ -24,6 +24,9 @@ fn check_forbidden_code() {
24
}
25
let c = fs::read_to_string(path).unwrap();
26
for (line_index, line) in c.lines().enumerate() {
27
+ if line.trim().starts_with("//") {
28
+ continue;
29
+ }
30
if line_has_print(line) {
31
if entry.file_name().to_str().unwrap() == "cargo_new.rs" && line.contains("Hello") {
32
// An exception.
0 commit comments