Skip to content

Commit 1311641

Browse files
committed
Make modules public. See rust-lang/rust#8478
* Non-public modules define public functions, * The crate’s top-level re-exports said functions as public This should work, but currently triggers link-time "undefined reference" errors.
1 parent 7e130b8 commit 1311641

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

cssparser.rc

+5-5
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@ pub use parser::*;
1313
pub use color::*;
1414
pub use nth::*;
1515

16-
mod ast;
17-
mod tokenizer;
18-
mod parser;
19-
mod color;
20-
mod nth;
16+
pub mod ast;
17+
pub mod tokenizer;
18+
pub mod parser;
19+
pub mod color;
20+
pub mod nth;
2121

2222
#[cfg(test)]
2323
mod tests;

0 commit comments

Comments
 (0)