We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b2fd0f2 commit 6479450Copy full SHA for 6479450
mdbook-spec/src/lib.rs
@@ -57,7 +57,7 @@ pub struct Spec {
57
}
58
59
impl Spec {
60
- fn new() -> Result<Spec> {
+ pub fn new() -> Result<Spec> {
61
let deny_warnings = std::env::var("SPEC_DENY_WARNINGS").as_deref() == Ok("1");
62
let rust_root = std::env::var_os("SPEC_RUST_ROOT").map(PathBuf::from);
63
if deny_warnings && rust_root.is_none() {
0 commit comments