We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 04f69a5 commit 186c220Copy full SHA for 186c220
examples/gui_vm/src/main.rs
@@ -44,7 +44,7 @@ fn parse_display(display_string: &str) -> Result<DisplayArg, String> {
44
});
45
46
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'")
+ format!("Invalid display string '{display_string}' format. Examples of valid values:\n '1920x1080', '1920x1080@60', '1920x1080:162x91mm', '1920x1080:300dpi', '1920x1080@90:300dpi'")
48
})?;
49
50
fn parse_group<T: FromStr>(captures: &Captures, name: &str) -> Result<Option<T>, String>
0 commit comments