aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib.rs
diff options
context:
space:
mode:
authorAceeri <conmcclusk@gmail.com>2015-11-09 03:13:52 -0800
committerAceeri <conmcclusk@gmail.com>2015-11-09 03:13:52 -0800
commitc6ffedccbdf61cf86591989e61cae73d95251df5 (patch)
tree6cf217f263e5cef375d644b029e9a78d5a1a0b63 /src/lib.rs
parentd6a53cf5d3ba9c41f4bd6255012ac2adfc6487b4 (diff)
downloadglutin-c6ffedccbdf61cf86591989e61cae73d95251df5.tar.gz
glutin-c6ffedccbdf61cf86591989e61cae73d95251df5.zip
Removed comments, fixed Some/None matches, removed unnecessary lock checks
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 1056e8b..c543155 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -527,12 +527,12 @@ pub struct WindowAttributes {
/// The default is `None`.
pub dimensions: Option<(u32, u32)>,
- /// The minimum dimensions a window can be, If this is `None`, the minimum will be set to 800x600.
+ /// The minimum dimensions a window can be, If this is `None`, the window will have no minimum dimensions (aside from reserved).
///
/// The default is `None`.
pub min_dimensions: Option<(u32, u32)>,
- /// The maximum dimensions a window can be, If this is `None`, the maximum will be the dimensions of the primary monitor.
+ /// The maximum dimensions a window can be, If this is `None`, the maximum will have no maximum or will be set to the primary monitor's dimensions by the platform.
///
/// The default is `None`.
pub max_dimensions: Option<(u32, u32)>,