File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -247,7 +247,7 @@ impl TestEnvironment {
247
247
}
248
248
249
249
pub ( crate ) fn override_frontend ( & self , init : impl FnOnce ( & mut TestFrontend ) ) -> & TestFrontend {
250
- let mut frontend = TestFrontend :: new ( & * self ) ;
250
+ let mut frontend = TestFrontend :: new ( self ) ;
251
251
init ( & mut frontend) ;
252
252
if self . frontend . set ( frontend) . is_err ( ) {
253
253
panic ! ( "cannot call override_frontend after frontend is initialized" ) ;
@@ -256,7 +256,7 @@ impl TestEnvironment {
256
256
}
257
257
258
258
pub ( crate ) fn frontend ( & self ) -> & TestFrontend {
259
- self . frontend . get_or_init ( || TestFrontend :: new ( & * self ) )
259
+ self . frontend . get_or_init ( || TestFrontend :: new ( self ) )
260
260
}
261
261
262
262
pub ( crate ) fn fake_release ( & self ) -> fakes:: FakeRelease {
You can’t perform that action at this time.
0 commit comments