Skip to content

Commit 1b9ab45

Browse files
committed
Hide the internal implementation of Encoding in the documentation
The implementation itself (`InternalEncoding`) is already hidden, but the field in the definition of `Encoding` is not. Fixes #75
1 parent 8c8fe8e commit 1b9ab45

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -871,7 +871,7 @@ pub type InternalEncoding = &'static [u8];
871871
// - width % dec(bit) == 0
872872
// - for all x in separator values[x] is IGNORE
873873
#[derive(Debug, Clone, PartialEq, Eq)]
874-
pub struct Encoding(pub InternalEncoding);
874+
pub struct Encoding(#[doc(hidden)] pub InternalEncoding);
875875

876876
/// How to translate characters when decoding
877877
///

0 commit comments

Comments
 (0)