mirror of
https://github.com/sharkdp/bat.git
synced 2026-10-26 20:16:33 +00:00
Make the error handler FnMut
This commit is contained in:
1 parent
cd81c7fa6b
commit
8e66bc8722
1 file changed
+1
-1
+1
-1
@@ -47,7 +47,7 @@ impl<'b> Controller<'b> {
|
||||
&self,
|
||||
inputs: Vec<Input>,
|
||||
output_buffer: Option<&mut dyn std::fmt::Write>,
|
||||
handle_error: impl Fn(&Error, &mut dyn Write),
|
||||
mut handle_error: impl FnMut(&Error, &mut dyn Write),
|
||||
) -> Result<bool> {
|
||||
let mut output_type;
|
||||
|
||||
|
||||
Reference in new issue
Block a user