This commit is contained in:
Adrian Heine 2023-03-04 14:01:20 +01:00
parent b32b0eaedc
commit b9d1303d06
2 changed files with 1 additions and 12 deletions

View file

@ -21,17 +21,6 @@ pub trait AddGeneric<X: ToArtifact> {
}
macro_rules! add_generic {
// Workaround for https://github.com/tokio-rs/tokio/issues/5502
() => (
#[async_trait(?Send)]
impl<SR, L, B, Rs, As> AddGeneric<()> for Setup<SR, L, B, Rs, As>
{
async fn add_generic(&self, _: &Rc<Logger>, (): ()) -> Result<((), bool), Box<dyn Error>>
{
Ok(((), false))
}
}
);
( $($name:ident)* ) => (
#[async_trait(?Send)]
#[allow(non_snake_case)]