blob: ed83ee9e101c99b89000d0bf5ea6efbe4c59a6b5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
// rustfmt-use_try_shorthand: true
fn main() {
let x = try!(some_expr());
let y = try!(a.very.loooooooooooooooooooooooooooooooooooooong().chain().inside().weeeeeeeeeeeeeee()).test().0.x;
}
fn test() {
a?
}
fn issue1291() {
try!(fs::create_dir_all(&gitfiledir).chain_err(|| {
format!("failed to create the {} submodule directory for the workarea",
name)
}));
}
|