File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -211,7 +211,7 @@ impl ToKind for ::prost_types::Timestamp {
211
211
fn to_kind ( & self ) -> Kind {
212
212
// The protobuf timestamp type should be formatted in RFC3339
213
213
// See here for more details: https://docs.rs/prost-types/latest/prost_types/struct.Timestamp.html
214
- let rfc3339 = format ! ( "{}" , self ) ;
214
+ let rfc3339 = format ! ( "{self}" ) ;
215
215
rfc3339. to_kind ( )
216
216
}
217
217
Original file line number Diff line number Diff line change @@ -166,7 +166,7 @@ async fn test_read_change_stream() {
166
166
// Create Change Stream
167
167
let cred = google_cloud_auth:: credentials:: CredentialsFile :: new ( ) . await . unwrap ( ) ;
168
168
let project = cred. project_id . unwrap ( ) ;
169
- let db = format ! ( "projects/{}/instances/test-instance/databases/local-database2" , project ) ;
169
+ let db = format ! ( "projects/{project }/instances/test-instance/databases/local-database2" ) ;
170
170
let admin_client = admin:: client:: Client :: new ( AdminClientConfig {
171
171
environment : create_environment ( ) . await ,
172
172
} )
@@ -190,10 +190,10 @@ async fn test_read_change_stream() {
190
190
let op = res. wait ( None ) . await ;
191
191
match op {
192
192
Ok ( _) => tracing:: info!( "create change stream success" ) ,
193
- Err ( e) => panic ! ( "create change stream failed: {:?}" , e ) ,
193
+ Err ( e) => panic ! ( "create change stream failed: {e :?}" ) ,
194
194
}
195
195
}
196
- Err ( e) => panic ! ( "create change stream failed: {:?}" , e ) ,
196
+ Err ( e) => panic ! ( "create change stream failed: {e :?}" ) ,
197
197
}
198
198
199
199
let now = OffsetDateTime :: now_utc ( ) ;
You can’t perform that action at this time.
0 commit comments