wio-rs icon indicating copy to clipboard operation
wio-rs copied to clipboard

No docs for ComPtr

Open Manishearth opened this issue 6 years ago • 3 comments

https://docs.rs/wio/0.2.0/wio/com/struct.ComPtr.html doesn't exist, perhaps the crate needs some doc(cfg) stuff?

Manishearth avatar Aug 13 '19 17:08 Manishearth

That is the docs for the linux version. I just need to specify the appropriate docs.rs stuff so it defaults to Windows.

retep998 avatar Aug 13 '19 19:08 retep998

Yeah, that's what I mean, you can use doc(cfg) to make that work IIRC

Manishearth avatar Aug 13 '19 19:08 Manishearth

It's also worthwhile specifying it as the default in Cargo.toml:

[package.metadata.docs.rs]
default-target = "x86_64-pc-windows-msvc"

Edit: To be clear, this is what retep998 is proposing.

agashlin avatar Aug 13 '19 19:08 agashlin