mirror of
https://github.com/lise-henry/crowbook
synced 2024-05-31 21:16:17 +02:00
Make GrammarError and GrammarCheck not public
This commit is contained in:
parent
ef249b751f
commit
1d7a53fb71
|
@ -33,7 +33,7 @@ use error::{Error, Result, Source};
|
|||
///
|
||||
/// Note: lots of fields are missing
|
||||
#[derive(RustcDecodable, RustcEncodable, Debug)]
|
||||
pub struct GrammarError {
|
||||
struct GrammarError {
|
||||
pub message: String,
|
||||
pub offset: usize,
|
||||
pub length: usize,
|
||||
|
@ -47,7 +47,7 @@ pub struct GrammarError {
|
|||
///
|
||||
/// Note: lots of fields are missing
|
||||
#[derive(RustcDecodable, RustcEncodable, Debug)]
|
||||
pub struct GrammarCheck {
|
||||
struct GrammarCheck {
|
||||
pub matches: Vec<GrammarError>,
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue