docs(gate): move normalize's doc comment back onto normalize
Merged
KI
24d ago+6+6+0123456789-6-6-0123456789
Problem
normalize in crates/fsgate/src/lib.rs has no doc comment, and with_escape_errno has two. Its rustdoc starts with "Normalizes an absolute path lexically", which describes a different function.
Root cause
#59 added with_escape_errno between normalize and its doc comment. Rustdoc joins consecutive /// lines, so normalize's comment became the first paragraph of with_escape_errno's.
Change
- Move
normalize's comment back abovenormalize, word for word as in2164094, which added it. - Rewrap one paragraph of
with_escape_errno's comment that had a line break mid-sentence. The wording is unchanged.
Safety and compatibility
Comments only, and both functions are private. No code changes.
Verification
Locally on macOS:
cargo fmt --all --check: clean.cargo clippy --all-targets -- -D warnings: clean on macOS,x86_64-unknown-linux-gnu, andaarch64-unknown-linux-gnu, and with-p fsgate --features experimental-intercepton x86_64 Linux.cargo test --locked: 121 passed, 0 failed.
Not verified: the rendered private docs (cargo doc --document-private-items) were not opened.
Summary by cubic
Fixes rustdoc misattribution where normalize's doc comment was attached to with_escape_errno, leaving normalize undocumented, by moving the comment back above normalize.
- Rewraps one paragraph in
with_escape_errno's comment that had a mid-sentence line break; wording is unchanged. - Comments only; both functions are private, so no behavior changes.