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

Add doc for all generated items #61

Closed
Yamakaky opened this issue Nov 14, 2016 · 1 comment
Closed

Add doc for all generated items #61

Yamakaky opened this issue Nov 14, 2016 · 1 comment

Comments

@Yamakaky
Copy link
Contributor

No description provided.

@Yamakaky
Copy link
Contributor Author

Closing since you can always do

error_chain! {
  links {
    inner::Error, Inner, #[doc = "Inner"];
  }
  errors {
    /// A variant
    Variant
  }
}

See https://stackoverflow.com/questions/33999341/generating-documentation-in-macros/33999625#33999625.
See #63 for a better syntax.

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

1 participant