Skip to content

Commit 8c405af

Browse files
committed
Fix one clippy warning
1 parent 3003a3c commit 8c405af

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

pineappl_cli/src/export/applgrid.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,8 +101,7 @@ pub fn convert_into_applgrid(
101101

102102
if dim > 1 {
103103
bail!(
104-
"grid has {} dimensions, but APPLgrid only supports one-dimensional distributions",
105-
dim
104+
"grid has {dim} dimensions, but APPLgrid only supports one-dimensional distributions"
106105
);
107106
}
108107

0 commit comments

Comments
 (0)