summaryrefslogtreecommitdiffstats
path: root/src/read.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/read.rs')
-rw-r--r--src/read.rs6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/read.rs b/src/read.rs
index 4847422..8bbd554 100644
--- a/src/read.rs
+++ b/src/read.rs
@@ -9,11 +9,7 @@ use crate::query::Query;
pub trait Read<'doc> : Object<'doc> + Sized {
fn read(&'doc self, query: &Query) -> Result<Option<&'doc Self>> {
- //match query_with_token(self, query.token())? {
- // None => Ok(None),
- // Some(o) => Ok(Some(o.as_deserialize())),
- //}
- unimplemented!()
+ query_with_token(self, query.token())
}
}