diff --git a/crates/coremem/src/driver.rs b/crates/coremem/src/driver.rs index 372bb3d..b1d5e8d 100644 --- a/crates/coremem/src/driver.rs +++ b/crates/coremem/src/driver.rs @@ -336,7 +336,7 @@ where } } -// TODO: use a Cow for this! +// this is effectively `Cow`, but without the `ToOwned` (Clone) requirement pub enum ValueOrRef<'a, T> { Value(T), Ref(&'a T),