Fix formatting in various files (#42917)

This fixes various issues where rustfmt failed to format code due to too
long strings, most of which I stumbled across over the last week and
some additonal ones I searched for whilst fixing the others.

Release Notes:

- N/A
This commit is contained in:
Finn Evers
2025-11-17 21:48:09 +00:00
committed by GitHub
parent ee420d530e
commit d9cfc2c883
8 changed files with 295 additions and 202 deletions
+5 -1
View File
@@ -44,7 +44,11 @@ mod tests {
let expect_indents_to =
|buffer: &mut Buffer, cx: &mut Context<Buffer>, input: &str, expected: &str| {
buffer.edit( [(0..buffer.len(), input)], Some(AutoindentMode::EachLine), cx, );
buffer.edit(
[(0..buffer.len(), input)],
Some(AutoindentMode::EachLine),
cx,
);
assert_eq!(buffer.text(), expected);
};