notedown_ast 0.13.10

notedown ast and converter
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use crate::NoteError;
use pest::error::Error;
use std::fmt::Debug;

impl<R> From<Error<R>> for NoteError
where
    R: Debug,
{
    fn from(e: Error<R>) -> Self {
        Self::runtime_error(format!("{:?}", e))
    }
}