~matthiasbeyer/serde-select

30f9101eaf7e72dc3783e3c34768851c9f098d96 — Matthias Beyer 4 years ago 4b4d2c2
Fix implementation

Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
1 files changed, 1 insertions(+), 5 deletions(-)

M src/read.rs
M src/read.rs => src/read.rs +1 -5
@@ 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())
    }
}