We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ade6529 commit b8eb3f6Copy full SHA for b8eb3f6
tests/ui/lifetime-span.rs
@@ -10,12 +10,12 @@ pub trait Trait<'r> {
10
11
#[async_trait]
12
impl Trait for A {
13
- async fn method(&self) { }
+ async fn method(&self) {}
14
}
15
16
17
impl<'r> Trait<'r> for B {
18
19
20
21
@@ -25,12 +25,12 @@ pub trait Trait2 {
25
26
27
impl Trait2 for A {
28
29
30
31
32
impl<'r> Trait2<'r> for B {
33
- async fn method(&'r self) { }
+ async fn method(&'r self) {}
34
35
36
fn main() {}
0 commit comments