Skip to content

Commit

Permalink
21139
Browse files Browse the repository at this point in the history
  • Loading branch information
Bruno Tavares committed Oct 25, 2015
1 parent 2b230a0 commit d28f66a
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/21139.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#![feature(unboxed_closures, core)]

pub struct HttpConnector<T = NoSslVerify>(Option<T>);
pub struct NoSslVerify;

impl<'a> FnOnce<&'a mut u8> for NoSslVerify {
type Output = ();
#[inline(always)]
extern "rust-call" fn call_once(self, _: (&mut u8)) {}
}

fn main() {}

0 comments on commit d28f66a

Please sign in to comment.