all: address clippy lints
This commit is contained in:
parent
558fe3d3ce
commit
e2f31646f2
19 changed files with 25 additions and 26 deletions
|
|
@ -38,7 +38,7 @@ pub struct OutputParser<'a> {
|
|||
pub name_ok: bool,
|
||||
}
|
||||
|
||||
impl<'a> Parser for OutputParser<'a> {
|
||||
impl Parser for OutputParser<'_> {
|
||||
type Value = Output;
|
||||
type Error = OutputParserError;
|
||||
const EXPECTED: &'static [DataType] = &[DataType::Table];
|
||||
|
|
@ -150,7 +150,7 @@ impl<'a> Parser for OutputParser<'a> {
|
|||
|
||||
pub struct OutputsParser<'a>(pub &'a Context<'a>);
|
||||
|
||||
impl<'a> Parser for OutputsParser<'a> {
|
||||
impl Parser for OutputsParser<'_> {
|
||||
type Value = Vec<Output>;
|
||||
type Error = OutputParserError;
|
||||
const EXPECTED: &'static [DataType] = &[DataType::Table, DataType::Array];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue