mirror of
https://github.com/rust-windowing/winit.git
synced 2026-08-30 21:30:03 -04:00
Update for rustc
This commit is contained in:
@@ -79,7 +79,7 @@ pub enum CreationError {
|
||||
impl std::error::Error for CreationError {
|
||||
fn description(&self) -> &str {
|
||||
match self {
|
||||
&OsError(ref text) => text.as_slice(),
|
||||
&CreationError::OsError(ref text) => text.as_slice(),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user