diff options
| author | bors <bors@rust-lang.org> | 2024-10-25 05:11:05 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2024-10-25 05:11:05 +0000 |
| commit | 017ae1b21f7be6dcdcfc95631e54bde806653a8a (patch) | |
| tree | c08d3b710ded87c4f93ef67802ef54b1f249fdc8 /library/std/src/path.rs | |
| parent | 788202a2cef5dde0743490fd51515f373d4207a6 (diff) | |
| parent | aab2b6747db09b8572f879bd74dbee701287536d (diff) | |
| download | rust-017ae1b21f7be6dcdcfc95631e54bde806653a8a.tar.gz rust-017ae1b21f7be6dcdcfc95631e54bde806653a8a.zip | |
Auto merge of #132105 - GuillaumeGomez:doctest-nested-main, r=notriddle
[rustdoc] Do not consider nested functions as main function even if named `main` in doctests Fixes #131893. If a nested function is called `main`, it is not considered as the entry point of the program. Therefore, doctests should not consider such functions as such either. r? `@notriddle`
Diffstat (limited to 'library/std/src/path.rs')
0 files changed, 0 insertions, 0 deletions
