Skip to content

Commit 4e2868a

Browse files
committed
BLD: Upgrade to Rust 1.89
1 parent 6b263fc commit 4e2868a

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/historical/client.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -90,22 +90,22 @@ impl Client {
9090
}
9191

9292
/// Returns the batch subclient.
93-
pub fn batch(&mut self) -> BatchClient {
93+
pub fn batch(&mut self) -> BatchClient<'_> {
9494
BatchClient { inner: self }
9595
}
9696

9797
/// Returns the metadata subclient.
98-
pub fn metadata(&mut self) -> MetadataClient {
98+
pub fn metadata(&mut self) -> MetadataClient<'_> {
9999
MetadataClient { inner: self }
100100
}
101101

102102
/// Returns the symbology subclient.
103-
pub fn symbology(&mut self) -> SymbologyClient {
103+
pub fn symbology(&mut self) -> SymbologyClient<'_> {
104104
SymbologyClient { inner: self }
105105
}
106106

107107
/// Returns the timeseries subclient.
108-
pub fn timeseries(&mut self) -> TimeseriesClient {
108+
pub fn timeseries(&mut self) -> TimeseriesClient<'_> {
109109
TimeseriesClient { inner: self }
110110
}
111111

src/live/client.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ impl Client {
279279
/// This method is cancel safe. It can be used within a [`tokio::select!`] statement
280280
/// without the potential for corrupting the input stream.
281281
#[instrument(parent = &self.span, level = "debug", skip_all)]
282-
pub async fn next_record(&mut self) -> crate::Result<Option<RecordRef>> {
282+
pub async fn next_record(&mut self) -> crate::Result<Option<RecordRef<'_>>> {
283283
if !self.fsm.has_decoded_metadata() {
284284
return Err(crate::Error::BadArgument {
285285
param_name: "self".to_owned(),

0 commit comments

Comments
 (0)