aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Niklas Hasse <jhasse@gmail.com>2015-03-02 00:01:36 +0100
committerJan Niklas Hasse <jhasse@gmail.com>2015-03-02 00:01:36 +0100
commit4a56ac53de8d521bbf013f462a5c3ff52b505f4a (patch)
tree15a8e5b51fa857cae6ef7bc3c5dace1742cb07ea
parent2ccc7b84586e5c9713f0b8e5442a1e168e844b93 (diff)
downloadglutin-4a56ac53de8d521bbf013f462a5c3ff52b505f4a.tar.gz
glutin-4a56ac53de8d521bbf013f462a5c3ff52b505f4a.zip
Fix doc
-rw-r--r--src/window.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/window.rs b/src/window.rs
index f82fa4f..6b2269f 100644
--- a/src/window.rs
+++ b/src/window.rs
@@ -168,6 +168,7 @@ impl<'a> WindowBuilder<'a> {
///
/// loop {
/// for event in window.poll_events() {
+/// match(event) {
/// // process events here
/// _ => ()
/// }