]> git.lizzy.rs Git - rust.git/blob - tests/target/paths.rs
Reformat tests
[rust.git] / tests / target / paths.rs
1 // rustfmt-normalize_comments: true
2
3 fn main() {
4     let constellation_chan = Constellation::<layout::layout_task::LayoutTask,
5                                              script::script_task::ScriptTask>::start(
6         compositor_proxy,
7         resource_task,
8         image_cache_task,
9         font_cache_task,
10         time_profiler_chan,
11         mem_profiler_chan,
12         devtools_chan,
13         storage_task,
14         supports_clipboard,
15     );
16
17     Quux::<ParamOne /* Comment 1 */, ParamTwo /* Comment 2 */>::some_func();
18
19     <*mut JSObject>::relocate(entry);
20
21     let x: Foo<A>;
22     let x: Foo/*::*/<A>;
23 }
24
25 fn op(foo: Bar, key: &[u8], upd: Fn(Option<&memcache::Item>, Baz) -> Result) -> MapResult {}