From 06ff70c38dffd7aed70c2801093995072080d48d Mon Sep 17 00:00:00 2001 From: Adrian Heine Date: Sat, 4 Mar 2023 15:58:18 +0100 Subject: [PATCH] Add a helpful comment --- src/setup/core.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/setup/core.rs b/src/setup/core.rs index 7f29711..e9e8a26 100644 --- a/src/setup/core.rs +++ b/src/setup/core.rs @@ -67,6 +67,10 @@ where >::Implementation: Runnable + Debug, Self: AddGeneric, T::Artifact: Clone, + // These bounds cannot be replaced by + // `RegularSetupCore: SetupCore` + // because the prerequisites are Option, too, and thus this would + // require AddGeneric> to already be implemented { async fn add_generic(&self, logger: &Rc, r: Option) -> InternalAddResult> { Ok(match r {