Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
makspll committed Sep 7, 2024
1 parent a1e3529 commit 43f1a00
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/bevy_api_gen/src/modifying_file_loader.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ impl FileLoader for ModifyingFileLoader {
RealFileLoader.read_file(path).map(|mut f| {
// we make it pub so in case we are re-exporting this crate we won't run into private re-export issues
if !f.contains("pub extern crate mlua") {
f.push_str("#[allow(unused_extern_crates)] extern crate mlua;");
f.push_str("#[allow(unused_extern_crates)] pub extern crate mlua;");
}
if !f.contains("pub extern crate bevy_reflect") {
f.push_str("#[allow(unused_extern_crates)] extern crate bevy_reflect;");
f.push_str("#[allow(unused_extern_crates)] pub extern crate bevy_reflect;");
}
f
})
Expand Down

0 comments on commit 43f1a00

Please sign in to comment.