Skip to content
This repository was archived by the owner on May 23, 2024. It is now read-only.

Commit 8f371f0

Browse files
committed
Merge pull request #47 from bltavares/21139
21139
2 parents dc85137 + d28f66a commit 8f371f0

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

src/21139.rs

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
#![feature(unboxed_closures, core)]
2+
3+
pub struct HttpConnector<T = NoSslVerify>(Option<T>);
4+
pub struct NoSslVerify;
5+
6+
impl<'a> FnOnce<&'a mut u8> for NoSslVerify {
7+
type Output = ();
8+
#[inline(always)]
9+
extern "rust-call" fn call_once(self, _: (&mut u8)) {}
10+
}
11+
12+
fn main() {}

0 commit comments

Comments
 (0)