Skip to content

Commit

Permalink
style: Address warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
epage committed May 2, 2024
1 parent ed6709e commit 6732e45
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/boxed.rs
Expand Up @@ -25,9 +25,9 @@ where
{
/// Creates a new `BoxPredicate`, a wrapper around a dynamically-dispatched
/// `Predicate` type with useful trait impls.
pub fn new<P: Predicate<Item>>(inner: P) -> BoxPredicate<Item>
pub fn new<P>(inner: P) -> BoxPredicate<Item>
where
P: Send + Sync + 'static,
P: Predicate<Item> + Send + Sync + 'static,
{
BoxPredicate(Box::new(inner))
}
Expand Down

0 comments on commit 6732e45

Please sign in to comment.