File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -266,7 +266,7 @@ impl<'repo> Diff<'repo> {
266
266
assert ! ( patch_no > 0 ) ;
267
267
assert ! ( patch_no <= total_patches) ;
268
268
let mut default = DiffFormatEmailOptions :: default ( ) ;
269
- let mut raw_opts = opts. map_or ( & mut default. raw , |opts| & mut opts. raw ) ;
269
+ let raw_opts = opts. map_or ( & mut default. raw , |opts| & mut opts. raw ) ;
270
270
let summary = commit. summary_bytes ( ) . unwrap ( ) ;
271
271
let mut message = commit. message_bytes ( ) ;
272
272
assert ! ( message. starts_with( summary) ) ;
Original file line number Diff line number Diff line change @@ -251,7 +251,7 @@ extern "C" fn subtransport_action(
251
251
n => panic ! ( "unknown action: {}" , n) ,
252
252
} ;
253
253
254
- let mut transport = & mut * ( raw_transport as * mut RawSmartSubtransport ) ;
254
+ let transport = & mut * ( raw_transport as * mut RawSmartSubtransport ) ;
255
255
// Note: we only need to generate if rpc is on. Else, for receive-pack and upload-pack
256
256
// libgit2 reuses the stream generated for receive-pack-ls or upload-pack-ls.
257
257
let generate_stream =
You can’t perform that action at this time.
0 commit comments