mirror of
https://github.com/storytold/winit.git
synced 2026-11-26 06:11:24 +01:00
Draft web platform structure
This commit is contained in:
1 parent
eea9530f38
commit
c5703eb00a
26 files changed
+1171
-153
No files matched your search
@@ -0,0 +1,10 @@
|
||||
use std::fmt;
|
||||
|
||||
#[derive(Debug)]
|
||||
pub struct OsError(pub String);
|
||||
|
||||
impl fmt::Display for OsError {
|
||||
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
|
||||
write!(f, "{}", self.0)
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user