about summary refs log tree commit diff
path: root/compiler/rustc_errors/src/snippet.rs
diff options
context:
space:
mode:
authorYuki Okushi <jtitor@2k36.org>2021-08-08 01:13:44 +0900
committerGitHub <noreply@github.com>2021-08-08 01:13:44 +0900
commit349290047f6dda53350b77651d36be2aba7add69 (patch)
treeac4fb4f823a057cfbffff69c7b69cfbd3dffc64c /compiler/rustc_errors/src/snippet.rs
parent08f56b7bdb6684800711bfc6a7e7adef7cfd99e4 (diff)
parentc32e4ba60abe2e3868da91f6d2bee1d889f36abe (diff)
downloadrust-349290047f6dda53350b77651d36be2aba7add69.tar.gz
rust-349290047f6dda53350b77651d36be2aba7add69.zip
Rollup merge of #87838 - jetomit:add-readdir-note, r=dtolnay
Document that fs::read_dir skips . and ..

Hi,

I think this is worth noting in the docs since it differs from POSIX `readdir`. I didn’t put it under platform-specific notes because it seems to be consistent across platforms, and changing this behavior in the future could cause pretty nasty bugs.

Thanks!
Diffstat (limited to 'compiler/rustc_errors/src/snippet.rs')
0 files changed, 0 insertions, 0 deletions