Skip to content

Commit

Permalink
remove unused allow
Browse files Browse the repository at this point in the history
  • Loading branch information
vic1707 committed Oct 11, 2023
1 parent 19b923d commit 273115b
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion src/element/function_call.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ impl<'a> FunctionCall<'a> {
}

impl fmt::Display for FunctionCall<'_> {
#[allow(clippy::panic_in_result_fn)]
fn fmt(&self, fmt: &mut fmt::Formatter<'_>) -> fmt::Result {
// TODO: see if there's a better way to do this
#[allow(clippy::fn_address_comparisons, clippy::unreachable)]
Expand Down
1 change: 0 additions & 1 deletion src/parser.rs
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,6 @@ impl<'a> ParserImpl<'a> {
Ok(el)
}

#[allow(clippy::panic_in_result_fn)]
fn atom(&mut self) -> Result<Element<'a>, Error> {
let Some(&next) = self.next() else {
yeet!(Error::new_unexpected_end_of_expression(self));
Expand Down

0 comments on commit 273115b

Please sign in to comment.