diff --git a/crates/fj-core/src/operations/insert/is_inserted.rs b/crates/fj-core/src/operations/insert/is_inserted.rs index dd4d00a95..992e2f43d 100644 --- a/crates/fj-core/src/operations/insert/is_inserted.rs +++ b/crates/fj-core/src/operations/insert/is_inserted.rs @@ -1,3 +1,5 @@ +use std::borrow::Borrow; + use crate::storage::Handle; /// Indicate whether an object has been inserted @@ -6,7 +8,7 @@ use crate::storage::Handle; /// whether their contents have been inserted or not. pub trait IsInserted { /// The type of the object for which the insertion status is tracked - type T; + type T: Borrow; } /// Indicate that an object has been inserted