mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-27 22:34:14 +00:00
Make explicit an unreachable NoDelim
case in rustfmt
.
This commit is contained in:
parent
9665da35cc
commit
86f011704c
@ -562,7 +562,7 @@ fn delim_token_to_str(
|
||||
("{ ", " }")
|
||||
}
|
||||
}
|
||||
DelimToken::NoDelim => ("", ""),
|
||||
DelimToken::NoDelim => unreachable!(),
|
||||
};
|
||||
if use_multiple_lines {
|
||||
let indent_str = shape.indent.to_string_with_newline(context.config);
|
||||
|
Loading…
Reference in New Issue
Block a user