File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -183,7 +183,7 @@ impl Login5Manager {
183183 }
184184
185185 let method = Login_method :: StoredCredential ( StoredCredential {
186- username : self . session ( ) . username ( ) . clone ( ) ,
186+ username : self . session ( ) . username ( ) ,
187187 data : auth_data,
188188 ..Default :: default ( )
189189 } ) ;
Original file line number Diff line number Diff line change @@ -156,7 +156,7 @@ impl RequestHandler {
156156
157157 let encrypted_blob_len = encrypted_blob. len ( ) ;
158158 if encrypted_blob_len < 16 {
159- return Err ( DiscoveryError :: HmacError ( encrypted_blob. clone ( ) ) . into ( ) ) ;
159+ return Err ( DiscoveryError :: HmacError ( encrypted_blob) . into ( ) ) ;
160160 }
161161
162162 let iv = & encrypted_blob[ 0 ..16 ] ;
Original file line number Diff line number Diff line change @@ -506,7 +506,7 @@ pub fn get_access_token(
506506 + token
507507 . expires_in ( )
508508 . unwrap_or_else ( || Duration :: from_secs ( 3600 ) ) ,
509- token_type : format ! ( "{:?}" , token. token_type( ) ) . to_string ( ) , // Urgh!?
509+ token_type : format ! ( "{:?}" , token. token_type( ) ) ,
510510 scopes : token_scopes,
511511 } )
512512}
You can’t perform that action at this time.
0 commit comments