aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs
index 0732f6d..e2e0030 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -26,7 +26,7 @@ fn main() {
let stdin = io::stdin();
for line in stdin.lock().lines() {
- let line = line.unwrap();
+ let line = line.expect("Error reading from STDIN");
// Write the message to STDOUT so that it can be properly read by Mutt
println!("{}", line);