In nix we're aliasing the libc::termios type using pub use libc::termios as Termios. That type has no documentation in libc, but we'd like to offer documentation for the type in our own crate. Specifying a doc comment above it doesn't support anything in the output. It'd be very useful if you could override documentation when aliasing types.
Originally posted at rust-lang/cargo#4250.
In
nixwe're aliasing thelibc::termiostype usingpub use libc::termios as Termios. That type has no documentation inlibc, but we'd like to offer documentation for the type in our own crate. Specifying a doc comment above it doesn't support anything in the output. It'd be very useful if you could override documentation when aliasing types.Originally posted at rust-lang/cargo#4250.