Clippy
This commit is contained in:
parent
8eec9c6759
commit
2ba158a0d4
7 changed files with 41 additions and 18 deletions
|
|
@ -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();
|
||||
|
|
|
|||
|
|
@ -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![])
|
||||
|
|
|
|||
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue