Remove unnecessary match (#2183)

This commit is contained in:
Joseph T. Lyons 2020-07-15 03:50:38 -04:00 committed by GitHub
parent 42a1adf2e9
commit c299d207f7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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