diff options
| author | Laurenz <laurmaedje@gmail.com> | 2022-01-13 18:43:18 +0100 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2022-01-13 18:43:18 +0100 |
| commit | b3062ee8804580f65d5232846f1ccd199b2ff1c7 (patch) | |
| tree | d0a9f3333a2cabd3c090d9e059f4e23da72106ec /src/layout | |
| parent | 8013a0d0e6c282f3d0ddc8e9734bb298831bceb7 (diff) | |
Make use of new Rust 1.58 formatting feature
Diffstat (limited to 'src/layout')
| -rw-r--r-- | src/layout/mod.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/layout/mod.rs b/src/layout/mod.rs index e272d102..cb6f1348 100644 --- a/src/layout/mod.rs +++ b/src/layout/mod.rs @@ -220,10 +220,10 @@ impl Layout for PackedNode { #[cfg(debug_assertions)] if !entry.check(regions) { eprintln!("node: {:#?}", self.node); - eprintln!("regions: {:#?}", regions); + eprintln!("regions: {regions:#?}"); eprintln!( "constraints: {:#?}", - frames.iter().map(|c| c.cts).collect::<Vec<_>>() + frames.iter().map(|c| c.cts).collect::<Vec<_>>(), ); panic!("constraints did not match regions they were created for"); } |
