Skip to content

Commit 186c220

Browse files
committed
examples/gui_vm: Fix compilation (wrong variable name)
Signed-off-by: Matej Hrica <[email protected]>
1 parent 04f69a5 commit 186c220

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/gui_vm/src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ fn parse_display(display_string: &str) -> Result<DisplayArg, String> {
4444
});
4545

4646
let captures = RE.captures(display_string).ok_or_else(|| {
47-
format!("Invalid display string '{s}' format. Examples of valid values:\n '1920x1080', '1920x1080@60', '1920x1080:162x91mm', '1920x1080:300dpi', '1920x1080@90:300dpi'")
47+
format!("Invalid display string '{display_string}' format. Examples of valid values:\n '1920x1080', '1920x1080@60', '1920x1080:162x91mm', '1920x1080:300dpi', '1920x1080@90:300dpi'")
4848
})?;
4949

5050
fn parse_group<T: FromStr>(captures: &Captures, name: &str) -> Result<Option<T>, String>

0 commit comments

Comments
 (0)