We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a0d9519 commit 19ddf8dCopy full SHA for 19ddf8d
crates/cgp-component/src/traits/delegate_component.rs
@@ -43,6 +43,6 @@
43
message = "{Self} does not contain any DelegateComponent entry for {Name}",
44
note = "You might want to implement the provider trait for {Name} on {Self}"
45
)]
46
-pub trait DelegateComponent<Name> {
+pub trait DelegateComponent<Name: ?Sized> {
47
type Delegate;
48
}
0 commit comments