This repository was archived by the owner on May 28, 2025. It is now read-only.
Commit dac600e
committed
Auto merge of rust-lang#9859 - koka831:no-run-side-effect, r=Manishearth
Avoid generating files via doctest
When we run `cargo test` in `clippy_lints` directory, it will generate [`foo.txt`](https://github.com/rust-lang/rust-clippy/blob/master/clippy_lints/foo.txt) in the directory.
In order to avoid that, this PR adds `no_run` to rustdoc which contains `File::create`.
changelog: none2 files changed
+2
-3
lines changedThis 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