Skip to content

Commit fb69d57

Browse files
authored
Fix another clippy warning (#1521)
fix another clippy warning
1 parent 0ae4e5f commit fb69d57

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/core/src/limiter.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ impl<'a> From<&'a mut dyn ResourceLimiter> for ResourceLimiterRef<'a> {
178178
}
179179
}
180180

181-
impl<'a> ResourceLimiterRef<'a> {
181+
impl ResourceLimiterRef<'_> {
182182
/// Returns an exclusive reference to the underlying [`ResourceLimiter`] if any.
183183
pub fn as_resource_limiter(&mut self) -> Option<&mut dyn ResourceLimiter> {
184184
match self.0.as_mut() {

0 commit comments

Comments
 (0)