Elaborate some in the documentation and respond to some review comments

This commit is contained in:
Thom Chiovoloni
2021-10-29 19:35:09 -07:00
parent 06edf082c3
commit f950edbef7
2 changed files with 19 additions and 8 deletions

View File

@@ -88,7 +88,6 @@ enum ErrorData<C> {
// requires an alignment >= 4 (note that `#[repr(align)]` will not reduce the
// alignment required by the struct, only increase it).
#[repr(align(4))]
#[doc(hidden)]
pub(crate) struct SimpleMessage {
kind: ErrorKind,
message: &'static str,