notedown_ast 0.12.9

notedown ast and converter
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use super::*;

impl From<std::io::Error> for NoteError {
    fn from(e: std::io::Error) -> Self {
        Self { kind: Box::new(NoteErrorKind::IOError(e)), file: None, range: None }
    }
}

impl From<std::fmt::Error> for NoteError {
    fn from(e: std::fmt::Error) -> Self {
        Self { kind: Box::new(NoteErrorKind::FormatError(e)), file: None, range: None }
    }
}