mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-28 11:17:26 +03:00
1b06375034
Use fs::symlink_metadata in doc for is_symlink fs::metadata() follows symlinks so is_symlink() will always return false. Use symlink_metadata instead in the example in the documentation. See issue #39088.