Skip to content

rust: fix crate-doc example (pyde_return is under raw::) - #26

Merged
zarah-s merged 1 commit into
mainfrom
rust-doc-raw-path
Aug 6, 2026
Merged

rust: fix crate-doc example (pyde_return is under raw::)#26
zarah-s merged 1 commit into
mainfrom
rust-doc-raw-path

Conversation

@zarah-s

@zarah-s zarah-s commented Aug 6, 2026

Copy link
Copy Markdown
Member

The crate-level ## Usage doc example calls pyde_host::pyde_return(...), but pyde_return is declared inside pub mod raw — the correct path is pyde_host::raw::pyde_return. The block is ignored so it never failed a doctest, but it misdirects anyone copy-pasting it. One-line doc fix.

The Usage example called pyde_host::pyde_return(...), but pyde_return is
declared inside `pub mod raw` (the low-level escape hatch), so the path
is pyde_host::raw::pyde_return. The block is `ignore`d so it never broke
a build, but it would send anyone copy-pasting it to an unresolved path.
@zarah-s
zarah-s merged commit ed495f6 into main Aug 6, 2026
@zarah-s
zarah-s deleted the rust-doc-raw-path branch August 6, 2026 08:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant