Skip to content

Commit eddaa72

Browse files
committed
Remove needless lifetime
1 parent 3174ae4 commit eddaa72

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ pub trait Matcher<T> {
5252
/// Creates an [`Expectation`].
5353
///
5454
/// [`Expectation`]: struct.Expectation.html
55-
pub fn expect<'a, T>(actual: &'a T) -> Expectation<'a, T> {
55+
pub fn expect<T>(actual: &T) -> Expectation<T> {
5656
Expectation { actual }
5757
}
5858

0 commit comments

Comments
 (0)