Skip to content

Commit

Permalink
clippy fix
Browse files Browse the repository at this point in the history
  • Loading branch information
dragazo committed Jul 25, 2024
1 parent d440748 commit 8170439
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion z3/src/ast.rs
Original file line number Diff line number Diff line change
Expand Up @@ -940,7 +940,7 @@ impl<'ctx> Real<'ctx> {
}
.to_str()
.unwrap();
s.strip_suffix("?").unwrap_or(s).to_owned()
s.strip_suffix('?').unwrap_or(s).to_owned()
}
pub fn approx_f64(&self) -> f64 {
self.approx(17).parse().unwrap() // 17 decimal digits needed to get full f64 precision
Expand Down

0 comments on commit 8170439

Please sign in to comment.