garage44.eu/jeroen/pinnacle

logclone: git clone https://garage44.eu/jeroen/pinnacle.git

.. /ports/winit-0.30.13/src/platform_impl/web/error.rs

raw

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)
    }
}