driver: address a TODO

This commit is contained in:
2022-08-22 00:43:07 -07:00
parent 24b82037b4
commit ff13a1e96c

View File

@@ -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),