Skip to content
This repository has been archived by the owner on Aug 16, 2021. It is now read-only.

not possible to document fields in struct type error in error block. #97

Open
andete opened this issue Dec 17, 2016 · 6 comments
Open

Comments

@andete
Copy link

andete commented Dec 17, 2016

See errors.rs for an example.
As far as I can see it is not possible to add documentation to the 3 fields of BridgeError.

It would be nice if that could be made possible in some way.

andete referenced this issue in andete/philipshue Dec 17, 2016
@LFalch
Copy link

LFalch commented Dec 18, 2016

@andete The link for the example doesn't work anymore, because the branch is gone.

@andete
Copy link
Author

andete commented Dec 18, 2016

alternative location for errors.rs: https://github.com/Orangenosecom/philipshue/blob/master/src/errors.rs

@andete
Copy link
Author

andete commented Dec 18, 2016

@Yamakaky
Copy link
Contributor

^^
Unfortunately, #63 makes it more complicated that it should. Do you want to try?

@andete
Copy link
Author

andete commented Dec 18, 2016

No, I just noticed the issue wasn't reported yet. Even though it seems to be related to #63 , for a casual user of error-chain this may not be obvious.

@Yamakaky
Copy link
Contributor

Yeah, I myself didn't notice it before your issue ^^

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants