From 4a886aae170e29f44cdbb270706707ec7299d2fb Mon Sep 17 00:00:00 2001 From: Richard Newman Date: Tue, 6 Jun 2017 09:24:36 -0700 Subject: [PATCH] Pre: derive Debug. --- query-algebrizer/src/lib.rs | 2 +- query-algebrizer/src/types.rs | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/query-algebrizer/src/lib.rs b/query-algebrizer/src/lib.rs index a890d065..504a6e14 100644 --- a/query-algebrizer/src/lib.rs +++ b/query-algebrizer/src/lib.rs @@ -51,7 +51,7 @@ pub use clauses::{ QueryInputs, }; -#[allow(dead_code)] +#[derive(Debug)] pub struct AlgebraicQuery { default_source: SrcVar, pub find_spec: FindSpec, diff --git a/query-algebrizer/src/types.rs b/query-algebrizer/src/types.rs index 387d0d0d..f4761780 100644 --- a/query-algebrizer/src/types.rs +++ b/query-algebrizer/src/types.rs @@ -228,6 +228,7 @@ impl Debug for QueryValue { /// 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.) +#[derive(Debug)] pub struct OrderBy(pub Direction, pub VariableColumn); impl From for OrderBy {