We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 61502c2 commit b96d65cCopy full SHA for b96d65c
src/lib.rs
@@ -123,6 +123,7 @@ fn validate(str: &str) -> Result<(), Error> {
123
Ok(())
124
}
125
126
+/// TurkishId types are displayed as regular numbers.
127
impl Display for TurkishId {
128
fn fmt(&self, f: &mut Formatter) -> Result<(), core::fmt::Error> {
129
write!(
@@ -133,6 +134,8 @@ impl Display for TurkishId {
133
134
135
136
137
+/// TurkishId can only be constructed from a string despite that it's stored
138
+/// as a fixed-length byte array internally.
139
impl FromStr for TurkishId {
140
type Err = Error;
141
fn from_str(s: &str) -> Result<Self, Self::Err> {
0 commit comments