mirror of
https://github.com/nushell/nushell.git
synced 2024-12-23 15:39:06 +01:00
Remove unnecessary match (#2183)
This commit is contained in:
parent
42a1adf2e9
commit
c299d207f7
@ -84,12 +84,7 @@ impl<'a, T: Plugin> PluginTest<'a, T> {
|
||||
}
|
||||
});
|
||||
|
||||
let began = self.plugin.begin_filter(call_stub);
|
||||
|
||||
let return_values = match began {
|
||||
Ok(values) => Ok(values),
|
||||
Err(reason) => Err(reason),
|
||||
};
|
||||
let return_values = self.plugin.begin_filter(call_stub);
|
||||
|
||||
callback(self.plugin, return_values);
|
||||
self
|
||||
|
Loading…
Reference in New Issue
Block a user