Skip to content

Commit 43f1a00

Browse files
committed
typo
1 parent a1e3529 commit 43f1a00

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

crates/bevy_api_gen/src/modifying_file_loader.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@ impl FileLoader for ModifyingFileLoader {
2323
RealFileLoader.read_file(path).map(|mut f| {
2424
// we make it pub so in case we are re-exporting this crate we won't run into private re-export issues
2525
if !f.contains("pub extern crate mlua") {
26-
f.push_str("#[allow(unused_extern_crates)] extern crate mlua;");
26+
f.push_str("#[allow(unused_extern_crates)] pub extern crate mlua;");
2727
}
2828
if !f.contains("pub extern crate bevy_reflect") {
29-
f.push_str("#[allow(unused_extern_crates)] extern crate bevy_reflect;");
29+
f.push_str("#[allow(unused_extern_crates)] pub extern crate bevy_reflect;");
3030
}
3131
f
3232
})

0 commit comments

Comments
 (0)