Skip to content

Commit

Permalink
Merge pull request #295 from dtolnay/docrepr
Browse files Browse the repository at this point in the history
Hide repr attribute from documentation
  • Loading branch information
dtolnay committed Feb 5, 2023
2 parents cf2adb4 + 10370e9 commit f65b087
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Expand Up @@ -367,7 +367,7 @@ pub use anyhow as format_err;
/// # Ok(())
/// }
/// ```
#[repr(transparent)]
#[cfg_attr(not(doc), repr(transparent))]
pub struct Error {
inner: Own<ErrorImpl>,
}
Expand Down

0 comments on commit f65b087

Please sign in to comment.