From 4e8193b31eec88b148d0fb62f8fb6f8b228d3492 Mon Sep 17 00:00:00 2001 From: Stepan Koltsov Date: Wed, 29 Oct 2014 14:36:04 +0300 Subject: [PATCH] name is required operation for FieldAccessor --- src/lib/reflect.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/lib/reflect.rs b/src/lib/reflect.rs index 12eeaa138..fa53bceac 100644 --- a/src/lib/reflect.rs +++ b/src/lib/reflect.rs @@ -15,9 +15,7 @@ use std::collections::HashMap; /// this trait should not be used directly, use `FieldDescriptor` instead pub trait FieldAccessor { - fn name(&self) -> &'static str { - fail!("TODO"); - } + fn name(&self) -> &'static str; fn has_field(&self, _m: &M) -> bool { fail!();