paramanent_flag => permanent_flag
This commit is contained in:
Koji Ota 2016-03-16 00:40:46 +09:00
parent 1e52fa8325
commit d4ad115d93
2 changed files with 2 additions and 2 deletions

View file

@ -46,7 +46,7 @@ fn main() {
match imap_socket.select("INBOX") { match imap_socket.select("INBOX") {
Ok(IMAPMailbox{flags, exists, recent, unseen, permanent_flags, uid_next, uid_validity}) => { Ok(IMAPMailbox{flags, exists, recent, unseen, permanent_flags, uid_next, uid_validity}) => {
println!("flags: {}, exists: {}, recent: {}, unseen: {:?}, parmanent_flags: {:?}, uid_next: {:?}, uid_validity: {:?}", flags, exists, recent, unseen, permanent_flags, uid_next, uid_validity); println!("flags: {}, exists: {}, recent: {}, unseen: {:?}, permanent_flags: {:?}, uid_next: {:?}, uid_validity: {:?}", flags, exists, recent, unseen, permanent_flags, uid_next, uid_validity);
}, },
Err(_) => println!("Error selecting INBOX") Err(_) => println!("Error selecting INBOX")
}; };

View file

@ -26,7 +26,7 @@ fn main() {
match imap_socket.select("INBOX") { match imap_socket.select("INBOX") {
Ok(IMAPMailbox{flags, exists, recent, unseen, permanent_flags, uid_next, uid_validity}) => { Ok(IMAPMailbox{flags, exists, recent, unseen, permanent_flags, uid_next, uid_validity}) => {
println!("flags: {}, exists: {}, recent: {}, unseen: {:?}, parmanent_flags: {:?}, uid_next: {:?}, uid_validity: {:?}", flags, exists, recent, unseen, permanent_flags, uid_next, uid_validity); println!("flags: {}, exists: {}, recent: {}, unseen: {:?}, permanent_flags: {:?}, uid_next: {:?}, uid_validity: {:?}", flags, exists, recent, unseen, permanent_flags, uid_next, uid_validity);
}, },
Err(_) => println!("Error selecting INBOX") Err(_) => println!("Error selecting INBOX")
}; };