( )⚙ D5546 rust-cpython: rustdoc improvements

This is an archive of the discontinued Mercurial Phabricator instance.

rust-cpython: rustdoc improvements
ClosedPublic

Authored by gracinet on Jan 10 2019, 4:55 AM.

Details

Summary

By default, cargo doc builds the documentation for public
constructs only, so we make public those that can. Since cindex
is not safe, we keep it private.

Unfortunately, the macro syntax of rust-cpython doesn't allow us
to document the classes directly, so we resort to do that at
the module level.

Diff Detail

Repository
rHG Mercurial
Lint
Lint Skipped
Unit
Unit Tests Skipped

Event Timeline

gracinet created this revision.Jan 10 2019, 4:55 AM
This revision was automatically updated to reflect the committed changes.