diff --git a/packages/storage-plus/src/keys.rs b/packages/storage-plus/src/keys.rs index 9bb5a8742..5d4e1d3d6 100644 --- a/packages/storage-plus/src/keys.rs +++ b/packages/storage-plus/src/keys.rs @@ -119,15 +119,6 @@ impl<'a> Prefixer<'a> for &'a str { } } -// this is a marker for the Map.range() helper, so we can detect () in Generic bounds -pub trait EmptyPrefix { - fn new() -> Self; -} - -impl EmptyPrefix for () { - fn new() {} -} - impl<'a> PrimaryKey<'a> for Vec { type Prefix = (); type SubPrefix = ();