Skip to content

Commit 4fa8cea

Browse files
committed
fix incorrect &self annotation
This is a problem with the code uncovered by the fix in rust-lang/rust#38897
1 parent 297b950 commit 4fa8cea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/traits.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ impl ToMdbValue for String {
5252
}
5353

5454
impl<'a> ToMdbValue for &'a str {
55-
fn to_mdb_value<'b, 's>(&'s self) -> MdbValue<'b> {
55+
fn to_mdb_value<'b>(&'b self) -> MdbValue<'b> {
5656
unsafe {
5757
MdbValue::new(mem::transmute(self.as_ptr()),
5858
self.len())

0 commit comments

Comments
 (0)