From 2ee14bf740e657e32bbe9472bd8970d98859215d Mon Sep 17 00:00:00 2001 From: greg Date: Mon, 4 Dec 2017 03:02:38 -0800 Subject: [PATCH] Unwraps --- src/rukka_lang/mod.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/rukka_lang/mod.rs b/src/rukka_lang/mod.rs index e441b4a..b2495a7 100644 --- a/src/rukka_lang/mod.rs +++ b/src/rukka_lang/mod.rs @@ -107,11 +107,11 @@ impl Sexp { &NumberAtom(ref n) => format!("{}", n), &List(ref sexprs) => { let mut output = String::new(); - write!(&mut output, "("); + write!(&mut output, "(").unwrap(); for sexpr in sexprs.iter() { - write!(&mut output, "{}", sexpr.print()); + write!(&mut output, "{}", sexpr.print()).unwrap(); } - write!(&mut output, ")"); + write!(&mut output, ")").unwrap(); output } }