Introduce a StandardProperties trait.
This commit is contained in:
@@ -6,6 +6,7 @@ pub(crate) struct List<'parent, T> {
|
||||
parent: Link<'parent, T>,
|
||||
}
|
||||
|
||||
// TODO: Should I be defining a lifetime for T in the generics here? Ref: https://quinedot.github.io/rust-learning/dyn-elision-advanced.html#iteraction-with-type-aliases
|
||||
type Link<'parent, T> = Option<&'parent List<'parent, T>>;
|
||||
|
||||
impl<'parent, T> List<'parent, T> {
|
||||
|
||||
Reference in New Issue
Block a user