mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-08-04 18:58:41 +00:00
Add expression fill mode variant for filling with underscore expressions
This commit is contained in:
parent
8fb2dcc947
commit
7e526b6be7
31 changed files with 172 additions and 125 deletions
|
@ -40,7 +40,7 @@ impl LoggerDb {
|
|||
/// it is meant to be run from outside any tracked functions.
|
||||
pub(crate) fn assert_logs(&self, expected: expect_test::Expect) {
|
||||
let logs = std::mem::take(&mut *self.logger.logs.lock().unwrap());
|
||||
expected.assert_eq(&format!("{:#?}", logs));
|
||||
expected.assert_eq(&format!("{logs:#?}"));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue