summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/main.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs
index 90ba496..062c080 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -38,7 +38,7 @@ fn valid_input_char(c: char) -> bool {
c.is_digit(10) || c == '.' || c == 'e'
}
-type Callback = Box<(Fn(&mut Vec<Entry>) -> usize + 'static)>;
+type Callback = Box<(dyn Fn(&mut Vec<Entry>) -> usize + 'static)>;
fn mk_callback<F>(f: F) -> Callback
where F: Fn(&mut Vec<Entry>) -> usize + 'static {