diff --git a/examples/plaintext.rs b/examples/plaintext.rs
index 39472d4..51bf0c6 100644
--- a/examples/plaintext.rs
+++ b/examples/plaintext.rs
@@ -1,29 +1,30 @@
use std::net::TcpStream;
fn main() {
- // REMINDER this is unsafe, the credentials are sent over the connection in CLEARTEXT
+ // REMINDER this is dangerous, the credentials are sent over the connection in CLEARTEXT!
// Anyone or anything between this connection and the server can read your login creds!
// Please oh please do not use this where this is even a possibility.
match plaintext() {
Ok(conn) => {
eprintln!("Connection successful!");
- println!("{:?}",conn);
- },
+ println!("{:?}", conn);
+ }
Err(e) => {
eprintln!("Connection error!");
- eprintln!("{:?}",e);
+ eprintln!("{:?}", e);
}
}
}
fn plaintext() -> imap::error::Result