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 foundations/src/telemetry/testing.rs
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ impl TestTelemetryContext {

/// Returns all the log records produced in the test context.
#[cfg(feature = "logging")]
pub fn log_records(&self) -> RwLockReadGuard<Vec<TestLogRecord>> {
pub fn log_records(&self) -> RwLockReadGuard<'_, Vec<TestLogRecord>> {
self.log_records.read().unwrap()
}

Expand Down
2 changes: 1 addition & 1 deletion foundations/src/telemetry/tracing/testing.rs
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ impl TestTrace {
/// ```
///
/// [depth-first]: https://en.wikipedia.org/wiki/Depth-first_search
pub fn iter(&self) -> TestTraceIterator {
pub fn iter(&self) -> TestTraceIterator<'_> {
TestTraceIterator {
stack: vec![&self.0],
}
Expand Down
Loading