Commit 50f1437
authored
parser: fix dead_code warning in test
```
warning: function `parse_text` is never used
--> crates/squawk_parser/tests/utils.rs:5:15
|
5 | pub(crate) fn parse_text(text: &str) -> (String, bool) {
| ^^^^^^^^^^
|
= note: `#[warn(dead_code)]` on by default
warning: `squawk_parser` (test "utils") generated 1 warning
Finished `test` profile [unoptimized] target(s) in 1.55s
Running unittests src/main.rs (target/debug/deps/squawk-42ae9071a6dd104a)
```parse_text fn (#490)1 parent 2b5711e commit 50f1437
2 files changed
+61
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
| 6 | + | |
5 | 7 | | |
6 | | - | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
7 | 65 | | |
8 | 66 | | |
9 | 67 | | |
| |||
20 | 78 | | |
21 | 79 | | |
22 | 80 | | |
23 | | - | |
| 81 | + | |
24 | 82 | | |
25 | 83 | | |
26 | 84 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
0 commit comments