Fix error[E0243]: wrong number of type arguments (#41)

Change Result<Animal> to be ApiResult<Animal>
This commit is contained in:
Robert White (Vix)
2017-04-16 00:36:42 +01:00
committed by Ignotus Peverell
parent e71ae27f77
commit 5886d551c2
+1 -1
View File
@@ -258,7 +258,7 @@ mod test {
vec![Method::Get]
}
fn get(&self, name: String) -> Result<Animal> {
fn get(&self, name: String) -> ApiResult<Animal> {
Ok(Animal {
name: name,
legs: 4,