driver: address a TODO
This commit is contained in:
@@ -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> {
|
pub enum ValueOrRef<'a, T> {
|
||||||
Value(T),
|
Value(T),
|
||||||
Ref(&'a T),
|
Ref(&'a T),
|
||||||
|
Reference in New Issue
Block a user