This commit is contained in:
Yuriy Dupyn 2024-01-28 22:08:46 +01:00
parent 8eec9c6759
commit 2ba158a0d4
7 changed files with 41 additions and 18 deletions

View file

@ -7,6 +7,13 @@ pub struct ColumnIndex {
index: BTreeMap<IndexableValue, HashSet<Uuid>>,
}
// To satisfy clippy.
impl Default for ColumnIndex {
fn default() -> Self {
Self::new()
}
}
impl ColumnIndex {
pub fn new() -> Self {
let index = BTreeMap::new();

View file

@ -39,6 +39,13 @@ impl FromIterator<Value> for Row {
}
}
// To satisfy clippy.
impl Default for Row {
fn default() -> Self {
Self::new()
}
}
impl Row {
pub fn new() -> Self {
Self(vec![])

View file

@ -47,6 +47,13 @@ impl std::fmt::Debug for Response<'_> {
}
}
// To satisfy clippy.
impl Default for State {
fn default() -> Self {
Self::new()
}
}
impl State {
pub fn new() -> Self {
Self {