fix: Allow configuration of colons in inlay-hints
This commit is contained in:
@@ -440,6 +440,7 @@ pub fn bench(label: &'static str) -> impl Drop {
|
||||
|
||||
/// Checks that the `file` has the specified `contents`. If that is not the
|
||||
/// case, updates the file and then fails the test.
|
||||
#[track_caller]
|
||||
pub fn ensure_file_contents(file: &Path, contents: &str) {
|
||||
if let Err(()) = try_ensure_file_contents(file, contents) {
|
||||
panic!("Some files were not up-to-date");
|
||||
|
||||
Reference in New Issue
Block a user