mirror of
https://github.com/rust-windowing/winit.git
synced 2026-06-27 23:23:14 -04:00
Generalize WindowBuilder::with_title
This commit is contained in:
@@ -32,7 +32,7 @@ fn main() {
|
||||
};
|
||||
|
||||
let window = glutin::WindowBuilder::new()
|
||||
.with_title("Hello world!".to_string())
|
||||
.with_title("Hello world!")
|
||||
.with_fullscreen(monitor)
|
||||
.build()
|
||||
.unwrap();
|
||||
|
||||
Reference in New Issue
Block a user