Pre: derive Debug.

This commit is contained in:
Richard Newman 2017-06-06 09:24:36 -07:00 committed by Richard Newman
parent 9ac2b8c680
commit 4a886aae17
2 changed files with 2 additions and 1 deletions

View file

@ -51,7 +51,7 @@ pub use clauses::{
QueryInputs, QueryInputs,
}; };
#[allow(dead_code)] #[derive(Debug)]
pub struct AlgebraicQuery { pub struct AlgebraicQuery {
default_source: SrcVar, default_source: SrcVar,
pub find_spec: FindSpec, pub find_spec: FindSpec,

View file

@ -228,6 +228,7 @@ impl Debug for QueryValue {
/// Represents an entry in the ORDER BY list: a variable or a variable's type tag. /// Represents an entry in the ORDER BY list: a variable or a variable's type tag.
/// (We require order vars to be projected, so we can simply use a variable here.) /// (We require order vars to be projected, so we can simply use a variable here.)
#[derive(Debug)]
pub struct OrderBy(pub Direction, pub VariableColumn); pub struct OrderBy(pub Direction, pub VariableColumn);
impl From<Order> for OrderBy { impl From<Order> for OrderBy {