Skip to content

Commit 5ba252c

Browse files
committed
Fix issue numbers in regression test traits
1 parent e29e385 commit 5ba252c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/test.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -121,12 +121,12 @@ mod issue1 {
121121
use async_trait::async_trait;
122122

123123
#[async_trait]
124-
trait Trait {
124+
trait Issue1 {
125125
async fn f<U>(&self);
126126
}
127127

128128
#[async_trait]
129-
impl<T: Sync> Trait for Vec<T> {
129+
impl<T: Sync> Issue1 for Vec<T> {
130130
async fn f<U>(&self) {}
131131
}
132132
}
@@ -154,7 +154,7 @@ mod issue9 {
154154
use async_trait::async_trait;
155155

156156
#[async_trait]
157-
pub trait Issue3: Sized + Send {
157+
pub trait Issue9: Sized + Send {
158158
async fn f(_x: Self) {}
159159
}
160160
}

0 commit comments

Comments
 (0)