review: clean code from comment blocks and placeholders
This commit is contained in:
@@ -18,8 +18,3 @@ pub fn run(row: &rusqlite::Row) -> rusqlite::Result<Attribute> {
|
||||
};
|
||||
Ok(Attribute { id, value })
|
||||
}
|
||||
|
||||
// #[cfg(test)]
|
||||
// mod unit_tests {
|
||||
// use super::*;
|
||||
// }
|
||||
|
||||
@@ -13,8 +13,3 @@ pub fn run(row: &rusqlite::Row) -> rusqlite::Result<Entity> {
|
||||
};
|
||||
Ok(entity)
|
||||
}
|
||||
|
||||
// #[cfg(test)]
|
||||
// mod unit_tests {
|
||||
// use super::*;
|
||||
// }
|
||||
|
||||
@@ -8,6 +8,3 @@ impl From<Value> for bool {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// #[cfg(test)]
|
||||
// mod unit_tests { use super::*; }
|
||||
|
||||
@@ -8,6 +8,3 @@ impl From<Value> for f64 {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// #[cfg(test)]
|
||||
// mod unit_tests { use super::*; }
|
||||
|
||||
@@ -8,6 +8,3 @@ impl From<Value> for i64 {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// #[cfg(test)]
|
||||
// mod unit_tests { use super::*; }
|
||||
|
||||
@@ -8,6 +8,3 @@ impl From<Value> for String {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// #[cfg(test)]
|
||||
// mod unit_tests { use super::*; }
|
||||
|
||||
@@ -8,6 +8,3 @@ impl From<Value> for u64 {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// #[cfg(test)]
|
||||
// mod unit_tests { use super::*; }
|
||||
|
||||
@@ -5,6 +5,3 @@ impl From<bool> for Value {
|
||||
Self::Bool(value)
|
||||
}
|
||||
}
|
||||
|
||||
// #[cfg(test)]
|
||||
// mod unit_tests { use super::*; }
|
||||
|
||||
@@ -5,6 +5,3 @@ impl From<f64> for Value {
|
||||
Self::Real(value)
|
||||
}
|
||||
}
|
||||
|
||||
// #[cfg(test)]
|
||||
// mod unit_tests { use super::*; }
|
||||
|
||||
@@ -5,6 +5,3 @@ impl From<i64> for Value {
|
||||
Self::SignedInt(value)
|
||||
}
|
||||
}
|
||||
|
||||
// #[cfg(test)]
|
||||
// mod unit_tests { use super::*; }
|
||||
|
||||
@@ -5,6 +5,3 @@ impl From<&str> for Value {
|
||||
Self::Text(String::from(value))
|
||||
}
|
||||
}
|
||||
|
||||
// #[cfg(test)]
|
||||
// mod unit_tests { use super::*; }
|
||||
|
||||
@@ -5,6 +5,3 @@ impl From<String> for Value {
|
||||
Self::Text(value)
|
||||
}
|
||||
}
|
||||
|
||||
// #[cfg(test)]
|
||||
// mod unit_tests { use super::*; }
|
||||
|
||||
@@ -5,6 +5,3 @@ impl From<u64> for Value {
|
||||
Self::UnsignedInt(value)
|
||||
}
|
||||
}
|
||||
|
||||
// #[cfg(test)]
|
||||
// mod unit_tests { use super::*; }
|
||||
|
||||
Reference in New Issue
Block a user