Skip to content

Commit

Permalink
reorder bounds in generic example
Browse files Browse the repository at this point in the history
closes #130
  • Loading branch information
mightyiam committed May 4, 2022
1 parent 4d61931 commit 1f75206
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -116,8 +116,8 @@ use std::hash::Hash;
#[memoized(key_expr = input.clone())]
fn f<A, B>(input: A) -> B
where
A: Clone + Send + Sync + 'static + Eq + Hash,
B: Clone + Send + Sync + 'static + From<A>,
A: 'static + Clone + Send + Sync + Eq + Hash,
B: 'static + Clone + Send + Sync + From<A>,
{
input.into()
}
Expand Down

0 comments on commit 1f75206

Please sign in to comment.