Skip to content

Commit 2ddbec8

Browse files
committed
fix imports
1 parent b3041bf commit 2ddbec8

File tree

4 files changed

+8
-4
lines changed

4 files changed

+8
-4
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
### Removed
11+
- `<dyn Query>::raw_read_query`, deprecated in 0.5.0, was removed
12+
1013
## [0.7.2] - 2024-02-14
1114

1215
### Fixed

influxdb/src/integrations/serde_integration/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
//! `name`, InfluxDB provides alongside query results.
88
//!
99
//! ```rust,no_run
10-
//! use influxdb::{Client, Query};
10+
//! use influxdb::{Client, Query as _, ReadQuery};
1111
//! use serde_derive::Deserialize;
1212
//!
1313
//! #[derive(Deserialize)]

influxdb/src/query/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
//! # Examples
55
//!
66
//! ```rust
7-
//! use influxdb::{ReadQuery, Timestamp};
7+
//! use influxdb::{ReadQuery, Query as _, Timestamp};
88
//! use influxdb::InfluxDbWriteable;
99
//!
1010
//! let write_query = Timestamp::Nanoseconds(0).into_query("measurement")
@@ -26,7 +26,7 @@ pub mod read_query;
2626
pub mod write_query;
2727
use std::fmt;
2828

29-
use crate::{Error, ReadQuery, WriteQuery};
29+
use crate::{Error, WriteQuery};
3030
use consts::{
3131
MILLIS_PER_SECOND, MINUTES_PER_HOUR, NANOS_PER_MICRO, NANOS_PER_MILLI, SECONDS_PER_MINUTE,
3232
};

influxdb/src/query/read_query.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,8 @@ impl Query for ReadQuery {
4747

4848
#[cfg(test)]
4949
mod tests {
50-
use crate::query::{Query, QueryType, ReadQuery};
50+
use super::ReadQuery;
51+
use crate::query::{Query, QueryType};
5152

5253
#[test]
5354
fn test_read_builder_single_query() {

0 commit comments

Comments
 (0)