File tree 2 files changed +7
-2
lines changed
2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -32,6 +32,10 @@ use core;
32
32
use doctree;
33
33
use visit_ast;
34
34
35
+ /// A stable identifier to the particular version of JSON output.
36
+ /// Increment this when the `Crate` and related structures change.
37
+ pub static SCHEMA_VERSION : & ' static str = "0.8.2" ;
38
+
35
39
pub trait Clean < T > {
36
40
fn clean ( & self ) -> T ;
37
41
}
Original file line number Diff line number Diff line change @@ -34,6 +34,9 @@ use std::io::{File, MemWriter};
34
34
use std:: str;
35
35
use serialize:: { json, Decodable , Encodable } ;
36
36
37
+ // reexported from `clean` so it can be easily updated with the mod itself
38
+ pub use clean:: SCHEMA_VERSION ;
39
+
37
40
pub mod clean;
38
41
pub mod core;
39
42
pub mod doctree;
@@ -55,8 +58,6 @@ pub mod visit_ast;
55
58
pub mod test;
56
59
mod flock;
57
60
58
- pub static SCHEMA_VERSION : & ' static str = "0.8.1" ;
59
-
60
61
type Pass = ( & ' static str , // name
61
62
fn ( clean:: Crate ) -> plugins:: PluginResult , // fn
62
63
& ' static str ) ; // description
You can’t perform that action at this time.
0 commit comments