We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5a1b039 commit e4a56e1Copy full SHA for e4a56e1
influxdb/src/integrations/serde_integration/mod.rs
@@ -21,7 +21,7 @@
21
//! weather: WeatherWithoutCityName,
22
//! }
23
//!
24
-//! # #[async_std::main]
+//! # #[tokio::main]
25
//! # async fn main() -> Result<(), influxdb::Error> {
26
//! let client = Client::new("http://localhost:8086", "test");
27
//! let query = Query::raw_read_query(
@@ -152,7 +152,7 @@ impl Client {
152
error: err.to_string(),
153
})?;
154
check_status(&res)?;
155
-
+
156
let body = res.bytes();
157
158
let body = body.await.map_err(|err| Error::ProtocolError {
0 commit comments