about summary refs log tree commit diff
path: root/tests/rustdoc-js-std/parser-errors.js
diff options
context:
space:
mode:
authorKriskras99 <github@kriskras99.nl>2024-04-10 13:43:36 +0200
committerGitHub <noreply@github.com>2024-04-10 13:43:36 +0200
commit6b0d3663c1be68a0f5a619c00e946b0754d7c3a8 (patch)
tree856bb803e77e2cb2d4af5d4ad64965215d4f90a5 /tests/rustdoc-js-std/parser-errors.js
parentbc8ad6a41eb8ba30787cfae159f8d778fcb5b2e7 (diff)
downloadrust-6b0d3663c1be68a0f5a619c00e946b0754d7c3a8.tar.gz
rust-6b0d3663c1be68a0f5a619c00e946b0754d7c3a8.zip
Rework Path::ancestors documentation to remove unwraps
If you take a quick glance at the documentation for Path::ancestors, the unwraps take the natural focus. Potentially indicating that ancestors might panic.
In the reworked version I've also moved the link with parent returning None and that the iterator will always yield &self to before the yield examples.
Diffstat (limited to 'tests/rustdoc-js-std/parser-errors.js')
0 files changed, 0 insertions, 0 deletions