style: apply rustfmt
Maybe 2024 changes? Note that we now set `edition = "2024"` explicitly in `rustfmt.toml`. Without this, it seems like it's possible in some cases for rustfmt to run under an older edition's style. Not sure how though.
This commit is contained in:
@@ -341,11 +341,7 @@ impl ConfiguredHIR {
|
||||
|
||||
/// Returns the "end line" anchor for this configuration.
|
||||
fn line_anchor_end(&self) -> hir::Look {
|
||||
if self.config.crlf {
|
||||
hir::Look::EndCRLF
|
||||
} else {
|
||||
hir::Look::EndLF
|
||||
}
|
||||
if self.config.crlf { hir::Look::EndCRLF } else { hir::Look::EndLF }
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user