Skip to content

Commit

Permalink
rust make control function public
Browse files Browse the repository at this point in the history
  • Loading branch information
crop2000 committed Nov 17, 2024
1 parent 99764a8 commit c1aade1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/generator/rust/rust_code_container.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -515,7 +515,7 @@ void RustCodeContainer::produceClass()
if (gGlobal->gExtControl) {
tab(n + 1, *fOut);
tab(n + 1, *fOut);
*fOut << "fn control(&mut self) {";
*fOut << "pub fn control(&mut self) {";
tab(n + 2, *fOut);
generateControlDeclarations(&fCodeProducer);
back(1, *fOut);
Expand Down

0 comments on commit c1aade1

Please sign in to comment.