Update window.rs (#1871)

This commit is contained in:
leafjolt authored and GitHub committed 2021-02-27 21:25:26 +01:00
1 parent 952edcb804
commit 3571dcd68c
1 file changed
+1 -1
+1 -1
View File
@@ -526,7 +526,7 @@ impl Window {
///
/// ## Platform-specific
///
/// - **iOS / Andraid / Web:** Unsupported.
/// - **iOS / Android / Web:** Unsupported.
#[inline]
pub fn set_max_inner_size<S: Into<Size>>(&self, max_size: Option<S>) {
self.window.set_max_inner_size(max_size.map(|s| s.into()))