Skip to content

Commit 66d3e5d

Browse files
committed
Remove debugging println! calls
1 parent 71e8e7c commit 66d3e5d

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/ui/calc_window.rs

+1-5
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,6 @@ impl CalcWindow {
143143

144144
Message::Evaluate => {
145145
self.result = Some(self.calc.evaluate(&self.content.text().trim()));
146-
println!("Evaluate");
147146
Task::none()
148147
}
149148
Message::Clear => {
@@ -220,7 +219,6 @@ impl CalcWindow {
220219
}
221220
}
222221
pub(super) fn view<'a>(&'a self, _id: &Id) -> Element<Message> {
223-
println!("View called {:?}", _id);
224222
let lcd = text_editor(&self.content)
225223
.height(Length::Fill)
226224
.style(|_theme, _status| {
@@ -240,9 +238,7 @@ impl CalcWindow {
240238
Some(r) => {
241239
match r {
242240
Ok(v) => {
243-
let s = Self::format_result(v);
244-
println!("Result = {}", s);
245-
s
241+
Self::format_result(v)
246242
}
247243
Err(e) => e.clone()
248244
}

0 commit comments

Comments
 (0)