about summary refs log tree commit diff
path: root/library/std/src/path.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-10-25 05:11:05 +0000
committerbors <bors@rust-lang.org>2024-10-25 05:11:05 +0000
commit017ae1b21f7be6dcdcfc95631e54bde806653a8a (patch)
treec08d3b710ded87c4f93ef67802ef54b1f249fdc8 /library/std/src/path.rs
parent788202a2cef5dde0743490fd51515f373d4207a6 (diff)
parentaab2b6747db09b8572f879bd74dbee701287536d (diff)
downloadrust-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