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; type Error = PEMFormatError;
fn validate(_s: &str) -> Result<(), Self::Error> { fn validate(_s: &str) -> Result<(), Self::Error> {
todo!("Learn the PEM ciphertext format");
Ok(()) Ok(())
} }
} }

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

Loading…
Cancel
Save