Skip to content

Allow documentation of enum variant #31

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Yamakaky opened this issue Nov 19, 2016 · 2 comments
Closed

Allow documentation of enum variant #31

Yamakaky opened this issue Nov 19, 2016 · 2 comments

Comments

@Yamakaky
Copy link
Contributor

Example:

quick_error! {
    /// An awesome error.
    #[derive(Debug)]
    pub enum IoWrapper {
        /// A cool variant
        Io(err: io::Error) {
            from()
        }
    }
}
Yamakaky added a commit to rust-lang-deprecated/error-chain that referenced this issue Nov 19, 2016
Yamakaky added a commit to rust-lang-deprecated/error-chain that referenced this issue Nov 19, 2016
@tailhook
Copy link
Owner

Docs work for me. What error do you get? Does the warning missing_docs get suppressed?

@Yamakaky
Copy link
Contributor Author

Wow, I'm sorry, in fact it works...

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

No branches or pull requests

2 participants