Skip to content

Commit

Permalink
cargo clippy fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
popematt committed Oct 8, 2024
1 parent 0edbcab commit 0eec621
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/types/list.rs
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ impl AsRef<Sequence> for List {

impl AsRef<[Element]> for List {
fn as_ref(&self) -> &[Element] {
&self.0.as_ref()
self.0.as_ref()
}
}

Expand Down
2 changes: 1 addition & 1 deletion src/types/sexp.rs
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ impl AsRef<Sequence> for SExp {

impl AsRef<[Element]> for SExp {
fn as_ref(&self) -> &[Element] {
&self.0.as_ref()
self.0.as_ref()
}
}

Expand Down

0 comments on commit 0eec621

Please sign in to comment.