Commit 3f015a3
committed
Avoid generating files via doctest
When we run `cargo test` in `clippy_lints` directory, it will generate
`foo.txt` in the directory.
In order to avoid that, add `no_run` to rustdoc which contains
`File::create`.1 parent 38e0590 commit 3f015a3
2 files changed
Lines changed: 2 additions & 3 deletions
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3077 | 3077 | | |
3078 | 3078 | | |
3079 | 3079 | | |
3080 | | - | |
| 3080 | + | |
3081 | 3081 | | |
3082 | 3082 | | |
3083 | 3083 | | |
| |||
3090 | 3090 | | |
3091 | 3091 | | |
3092 | 3092 | | |
3093 | | - | |
| 3093 | + | |
3094 | 3094 | | |
3095 | 3095 | | |
3096 | 3096 | | |
| |||
0 commit comments