1
0
Fork 0
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:
Elisabeth Henry 2017-07-07 21:21:41 +02:00
parent ef249b751f
commit 1d7a53fb71

View File

@ -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>,
}