Skip to content

Commit e4a56e1

Browse files
committed
tokioize some more
1 parent 5a1b039 commit e4a56e1

File tree

1 file changed

+2
-2
lines changed
  • influxdb/src/integrations/serde_integration

1 file changed

+2
-2
lines changed

influxdb/src/integrations/serde_integration/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
//! weather: WeatherWithoutCityName,
2222
//! }
2323
//!
24-
//! # #[async_std::main]
24+
//! # #[tokio::main]
2525
//! # async fn main() -> Result<(), influxdb::Error> {
2626
//! let client = Client::new("http://localhost:8086", "test");
2727
//! let query = Query::raw_read_query(
@@ -152,7 +152,7 @@ impl Client {
152152
error: err.to_string(),
153153
})?;
154154
check_status(&res)?;
155-
155+
156156
let body = res.bytes();
157157

158158
let body = body.await.map_err(|err| Error::ProtocolError {

0 commit comments

Comments
 (0)