File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 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> {
266266 assert ! ( patch_no > 0 ) ;
267267 assert ! ( patch_no <= total_patches) ;
268268 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 ) ;
270270 let summary = commit. summary_bytes ( ) . unwrap ( ) ;
271271 let mut message = commit. message_bytes ( ) ;
272272 assert ! ( message. starts_with( summary) ) ;
Original file line number Diff line number Diff line change @@ -251,7 +251,7 @@ extern "C" fn subtransport_action(
251251 n => panic ! ( "unknown action: {}" , n) ,
252252 } ;
253253
254- let mut transport = & mut * ( raw_transport as * mut RawSmartSubtransport ) ;
254+ let transport = & mut * ( raw_transport as * mut RawSmartSubtransport ) ;
255255 // Note: we only need to generate if rpc is on. Else, for receive-pack and upload-pack
256256 // libgit2 reuses the stream generated for receive-pack-ls or upload-pack-ls.
257257 let generate_stream =
You can’t perform that action at this time.
0 commit comments