mirror of
https://github.com/rust-windowing/winit.git
synced 2026-08-30 05:10:03 -04:00
Merge pull request #488 from tomaka/rem-is-closed
Remove the is_closed function
This commit is contained in:
@@ -225,12 +225,6 @@ impl Window {
|
||||
builder.build()
|
||||
}
|
||||
|
||||
/// Returns true if the window has previously been closed by the user.
|
||||
#[inline]
|
||||
pub fn is_closed(&self) -> bool {
|
||||
self.window.is_closed()
|
||||
}
|
||||
|
||||
/// Modifies the title of the window.
|
||||
///
|
||||
/// This is a no-op if the window has already been closed.
|
||||
|
||||
Reference in New Issue
Block a user