mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Fix some Clippy lints.
This commit is contained in:
parent
c23adde5a3
commit
3e5cd8815d
14 changed files with 37 additions and 43 deletions
|
@ -637,7 +637,7 @@ impl fmt::Debug for HangProfile {
|
|||
|
||||
write!(fmt, "HangProfile backtrace:")?;
|
||||
|
||||
if self.backtrace.len() == 0 {
|
||||
if self.backtrace.is_empty() {
|
||||
write!(fmt, "backtrace failed to resolve")?;
|
||||
return Ok(());
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue