Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lifetime parameters or bounds on method to_mdb_value do not match the trait declaration #52

Open
comfix opened this issue Jul 25, 2017 · 0 comments

Comments

@comfix
Copy link

comfix commented Jul 25, 2017

While compilation got this error.

error[E0195]: lifetime parameters or bounds on method `to_mdb_value` do not match the trait declaration
  --> /home/comfix/.cargo/registry/src/github.com-1ecc6299db9ec823/lmdb-rs-0.7.1/src/traits.rs:55:5
   |
55 | /     fn to_mdb_value<'b, 's>(&'s self) -> MdbValue<'b> {
56 | |         unsafe {
57 | |             MdbValue::new(mem::transmute(self.as_ptr()),
58 | |                           self.len())
59 | |         }
60 | |     }
   | |_____^ lifetimes do not match trait
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant