Fix error[E0243]: wrong number of type arguments (#41)
Change Result<Animal> to be ApiResult<Animal>
This commit is contained in:
committed by
Ignotus Peverell
parent
e71ae27f77
commit
5886d551c2
+1
-1
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user