We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7df4a7b commit c2a7609Copy full SHA for c2a7609
packages/std/src/traits.rs
@@ -70,7 +70,7 @@ pub trait Storage {
70
) -> Box<dyn Iterator<Item = Record> + 'a> {
71
// This default implementation is just to avoid breaking code when enabling the `iterator` feature.
72
// Any actual `Storage` impl should override this method.
73
- Box::new(std::iter::empty())
+ unimplemented!("This storage does not support ranging. Make sure to override the `range` method in your `Storage` implementation.")
74
}
75
76
/// Allows iteration over a set of keys, either forwards or backwards.
0 commit comments