Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion timely/src/dataflow/operators/core/capture/event.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ pub enum Event<T, C> {
/// This method is not simply an iterator because of the lifetime in the result.
pub trait EventIterator<T: Clone, C: Clone> {
/// Iterates over `Cow<Event<T, C>>` elements.
fn next(&mut self) -> Option<std::borrow::Cow<Event<T, C>>>;
fn next(&mut self) -> Option<std::borrow::Cow<'_, Event<T, C>>>;
}

/// Receives `Event<T, C>` events.
Expand Down
2 changes: 1 addition & 1 deletion timely/src/progress/frontier.rs
Original file line number Diff line number Diff line change
Expand Up @@ -629,7 +629,7 @@ pub trait MutableAntichainFilter<T: PartialOrder+Ord+Clone> {
///
/// assert!(changes == vec![(1, -1), (2, 1)]);
/// ```
fn filter_through(self, antichain: &mut MutableAntichain<T>) -> smallvec::Drain<[(T,i64); 2]>;
fn filter_through(self, antichain: &mut MutableAntichain<T>) -> smallvec::Drain<'_, [(T,i64); 2]>;
}

impl<T: PartialOrder+Ord+Clone, I: IntoIterator<Item=(T,i64)>> MutableAntichainFilter<T> for I {
Expand Down
2 changes: 1 addition & 1 deletion timely/src/worker.rs
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ pub trait AsWorker : Scheduler {
/// The next worker-unique identifier to be allocated.
fn peek_identifier(&self) -> usize;
/// Provides access to named logging streams.
fn log_register(&self) -> Option<::std::cell::RefMut<crate::logging_core::Registry>>;
fn log_register(&self) -> Option<RefMut<'_, crate::logging_core::Registry>>;
/// Acquires a logger by name, if the log register exists and the name is registered.
///
/// For a more precise understanding of why a result is `None` one can use the direct functions.
Expand Down
Loading