2 fn simple(// pre-comment on a function!?
3 i: i32, // yes, it's possible!
4 response: NoWay /* hose */) {
7 upd: Box<Fn(Option<&memcache::Item>)
8 -> (memcache::Status, Result<memcache::Item, Option<String>>)>)
16 fn weird_comment(// /*/ double level */ comment
17 x: Hello, // /*/* tripple, even */*/
20 simple(// does this preserve comments now?
25 fn generic<T>(arg: T) -> &SomeType
26 where T: Fn(// First arg
41 pub fn http_fetch_async(listener: Box<AsyncCORSResponseListener + Send>,
42 script_chan: Box<ScriptChan + Send>) {
45 fn some_func<T: Box<Trait + Bound>>(val: T) {}
47 fn zzzzzzzzzzzzzzzzzzzz<Type, NodeType>(selff: Type,
48 mut handle: node::Handle<IdRef<'id, Node<K, V>>,
51 -> SearchStack<'a, K, V, Type, NodeType> {
54 unsafe fn generic_call(cx: *mut JSContext,
58 call: unsafe extern "C" fn(*const JSJitInfo,
65 let f: fn(_, _) -> _ = panic!();
68 pub fn start_export_thread<C: CryptoSchemee + 'static>
73 -> BonzoResult<mpsc::Consumer<'static, FileInstruction>> {