Skip to content

Commit

Permalink
clippy suggestions
Browse files Browse the repository at this point in the history
  • Loading branch information
zslayton committed Apr 18, 2024
1 parent f42720d commit d8bf480
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions src/lazy/encoder/value_writer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -232,9 +232,7 @@ impl<'field, StructWriterType: StructWriter> AnnotatableWriter
}
}

impl<'annotations, 'field, StructWriterType: StructWriter> ValueWriter
for FieldWriter<'field, StructWriterType>
{
impl<'field, StructWriterType: StructWriter> ValueWriter for FieldWriter<'field, StructWriterType> {
type ListWriter =
<<StructWriterType as MakeValueWriter>::ValueWriter<'field> as ValueWriter>::ListWriter;
type SExpWriter =
Expand Down
2 changes: 1 addition & 1 deletion src/lazy/encoder/writer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ impl<E: LazyEncoder, Output: Write> ApplicationWriter<E, Output> {

let mut lst = directive_writer
.value_writer()
.with_annotations(&[system_symbol_ids::ION_SYMBOL_TABLE])?
.with_annotations(system_symbol_ids::ION_SYMBOL_TABLE)?
.struct_writer()?;

lst.field_writer(system_symbol_ids::IMPORTS)
Expand Down

0 comments on commit d8bf480

Please sign in to comment.