Skip to content

Commit 10370e9

Browse files
committed
Hide repr attribute from documentation
1 parent cf2adb4 commit 10370e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -367,7 +367,7 @@ pub use anyhow as format_err;
367367
/// # Ok(())
368368
/// }
369369
/// ```
370-
#[repr(transparent)]
370+
#[cfg_attr(not(doc), repr(transparent))]
371371
pub struct Error {
372372
inner: Own<ErrorImpl>,
373373
}

0 commit comments

Comments
 (0)