Skip to content

Commit

Permalink
Hide repr attribute from documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
dtolnay committed Feb 5, 2023
1 parent cf2adb4 commit 10370e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
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 10370e9

Please sign in to comment.