wasm-webidl-bindings-text-parser 0.1.0

Raw WebIDL bindings text encoder/decoder. Still in a state of flux!
Documentation
1
2
3
4
5
6
7
pub(crate) fn error<L, T, S>(error: S) -> lalrpop_util::ParseError<L, T, String>
where
    S: Into<String>,
{
    let error = error.into();
    lalrpop_util::ParseError::User { error }
}