We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4d5b26c commit 52c9270Copy full SHA for 52c9270
rustls-platform-verifier/src/android.rs
@@ -52,15 +52,15 @@ enum Global {
52
}
53
54
impl Global {
55
- fn env(&self) -> Result<JNIEnv, Error> {
+ fn env(&self) -> Result<JNIEnv<'_>, Error> {
56
let vm = match self {
57
Global::Internal { java_vm, .. } => java_vm,
58
Global::External(global) => global.java_vm(),
59
};
60
Ok(vm.attach_current_thread_permanently()?)
61
62
63
- fn context(&self) -> Result<Context, Error> {
+ fn context(&self) -> Result<Context<'_>, Error> {
64
let env = self.env()?;
65
66
let context = match self {
0 commit comments