Skip to content

Commit

Permalink
fix: fix clippy warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
ngoldbaum committed Jul 23, 2024
1 parent acce49a commit 1164054
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/types/dict.rs
Original file line number Diff line number Diff line change
Expand Up @@ -727,8 +727,8 @@ mod tests {
#[crate::pymethods(crate = "crate")]
impl HashErrors {
#[new]
fn new() -> PyResult<Self> {
Ok(HashErrors {})
fn new() -> Self {
HashErrors {}
}

fn __hash__(&self) -> PyResult<isize> {
Expand Down

0 comments on commit 1164054

Please sign in to comment.