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