File tree Expand file tree Collapse file tree 2 files changed +3
-5
lines changed
Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -426,7 +426,7 @@ fn main() {
426426 let chunks = vec![b"fearless".to_vec(), b"concurrency".to_vec()];
427427 let mut buf = MultiBuf { chunks, pos: 0 };
428428 let blobid = client.put(&mut buf);
429- println!("blobid = {}", blobid );
429+ println!("blobid = {blobid}" );
430430}
431431```
432432
@@ -552,7 +552,7 @@ fn main() {
552552 let chunks = vec![b"fearless".to_vec(), b"concurrency".to_vec()];
553553 let mut buf = MultiBuf { chunks, pos: 0 };
554554 let blobid = client.put(&mut buf);
555- println!("blobid = {}", blobid );
555+ println!("blobid = {blobid}" );
556556
557557 // Add a tag.
558558 client.tag(blobid, "rust");
Original file line number Diff line number Diff line change 1- #![ allow( clippy:: uninlined_format_args) ]
2-
31#[ cxx:: bridge( namespace = "org::blobstore" ) ]
42mod ffi {
53 // Shared structs with fields visible to both languages.
@@ -50,7 +48,7 @@ fn main() {
5048 let chunks = vec ! [ b"fearless" . to_vec( ) , b"concurrency" . to_vec( ) ] ;
5149 let mut buf = MultiBuf { chunks, pos : 0 } ;
5250 let blobid = client. put ( & mut buf) ;
53- println ! ( "blobid = {}" , blobid ) ;
51+ println ! ( "blobid = {blobid}" ) ;
5452
5553 // Add a tag.
5654 client. tag ( blobid, "rust" ) ;
You can’t perform that action at this time.
0 commit comments