rust-embedded / rust-i2cdev

Rust library for interfacing with i2c devices under Linux
Apache License 2.0
207 stars 54 forks source link

Missing docs on I2CMessage #57

Closed MBons closed 4 years ago

MBons commented 4 years ago

The implementation block defining fn with_address(..) and fn with_flags(..) does not show up in the docs. Presumably because it's an impl on a type alias of a private struct?

eldruin commented 4 years ago

The docs are just missing. I am working on a PR for this.

MBons commented 4 years ago

Well yes the actual documentation is missing but undocumented items are normally still listed in the doc pages. This implementation block is straight up not showing up. See: https://docs.rs/i2cdev/0.4.4/i2cdev/linux/type.LinuxI2CMessage.html

Even adding any documentation to these items does not change this.