aboutsummaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorIvan Ukhov <ivan.ukhov@gmail.com>2016-05-08 09:28:42 +0200
committerIvan Ukhov <ivan.ukhov@gmail.com>2016-05-08 09:28:42 +0200
commit54f442ea06e26654438c4f3acdbacca1b2b1cefe (patch)
tree0901b9ef9253037d539b5dac2e41c961b7c1368b /examples
parent93c88ee54d365ce6804c1cab56ecc600e792263f (diff)
downloadglutin-54f442ea06e26654438c4f3acdbacca1b2b1cefe.tar.gz
glutin-54f442ea06e26654438c4f3acdbacca1b2b1cefe.zip
Generalize WindowBuilder::with_title
Diffstat (limited to 'examples')
-rw-r--r--examples/fullscreen.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/fullscreen.rs b/examples/fullscreen.rs
index 92d32a3..8671c9e 100644
--- a/examples/fullscreen.rs
+++ b/examples/fullscreen.rs
@@ -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();