Skip to content

Commit 2011954

Browse files
Merge pull request #147 from Chia-Network/20250218-move-functions
Break things out of handler.rs into source.rs and obj.rs to make it a little friendlier.
2 parents 6347298 + 2ab3bfa commit 2011954

File tree

10 files changed

+782
-769
lines changed

10 files changed

+782
-769
lines changed

wasm/src/dbg/compopts.rs

+5-2
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,13 @@ impl HasCompilerOptsDelegation for DbgCompilerOpts {
3030
fn compiler_opts(&self) -> Rc<dyn CompilerOpts> {
3131
self.opts.clone()
3232
}
33-
fn update_compiler_opts<F: FnOnce(Rc<dyn CompilerOpts>) -> Rc<dyn CompilerOpts>>(&self, f: F) -> Rc<dyn CompilerOpts> {
33+
fn update_compiler_opts<F: FnOnce(Rc<dyn CompilerOpts>) -> Rc<dyn CompilerOpts>>(
34+
&self,
35+
f: F,
36+
) -> Rc<dyn CompilerOpts> {
3437
Rc::new(DbgCompilerOpts {
3538
opts: f(self.opts.clone()),
36-
.. self.clone()
39+
..self.clone()
3740
})
3841
}
3942
fn override_read_new_file(

0 commit comments

Comments
 (0)