@@ -67,7 +67,7 @@ async fn fetch(client: &Client) -> Result<()> {
67
67
. fetch :: < MyRow < ' _ > > ( ) ?;
68
68
69
69
while let Some ( row) = cursor. next ( ) . await ? {
70
- println ! ( "{:?}" , row ) ;
70
+ println ! ( "{row :?}" ) ;
71
71
}
72
72
73
73
Ok ( ( ) )
@@ -82,7 +82,7 @@ async fn fetch_all(client: &Client) -> Result<()> {
82
82
. fetch_all :: < MyRowOwned > ( )
83
83
. await ?;
84
84
85
- println ! ( "{:?}" , vec ) ;
85
+ println ! ( "{vec :?}" ) ;
86
86
87
87
Ok ( ( ) )
88
88
}
@@ -105,7 +105,7 @@ async fn select_count(client: &Client) -> Result<()> {
105
105
. fetch_one :: < u64 > ( )
106
106
. await ?;
107
107
108
- println ! ( "count() = {}" , count ) ;
108
+ println ! ( "count() = {count}" ) ;
109
109
110
110
Ok ( ( ) )
111
111
}
@@ -117,7 +117,7 @@ async fn watch(client: &Client) -> Result<()> {
117
117
. fetch :: < MyRow < ' _ > > ( ) ?;
118
118
119
119
let ( version, row) = cursor. next ( ) . await ?. unwrap ( ) ;
120
- println ! ( "version={}, row={:?}" , version , row ) ;
120
+ println ! ( "version={version }, row={row :?}" ) ;
121
121
122
122
let mut insert = client. insert ( "some" ) ?;
123
123
let row = MyRow {
@@ -128,7 +128,7 @@ async fn watch(client: &Client) -> Result<()> {
128
128
insert. end ( ) . await ?;
129
129
130
130
let ( version, row) = cursor. next ( ) . await ?. unwrap ( ) ;
131
- println ! ( "version={}, row={:?}" , version , row ) ;
131
+ println ! ( "version={version }, row={row :?}" ) ;
132
132
133
133
// Or you can request only events without data.
134
134
let mut cursor = client
0 commit comments