improve test

new-idea
Avril 4 years ago
parent 8a1ccd55d9
commit 5b3aeadb6b
Signed by: flanchan
GPG Key ID: 284488987C31F630

@ -303,6 +303,7 @@ pub mod formats
{
type Error = PEMFormatError;
fn validate(_s: &str) -> Result<(), Self::Error> {
todo!("Learn the PEM ciphertext format");
Ok(())
}
}

@ -20,6 +20,7 @@ pub type IDMaxString = MaxLenString<ID_MAX_LEN>;
#[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash, Serialize, Deserialize)]
pub struct Post
{
/// Unique ID for each post
id: PostID,
name: Option<IDMaxString>,

Loading…
Cancel
Save