mirror of
https://github.com/mimblewimble/grin.git
synced 2025-02-01 17:01:09 +03:00
Fix error[E0243]: wrong number of type arguments (#41)
Change Result<Animal> to be ApiResult<Animal>
This commit is contained in:
parent
e71ae27f77
commit
5886d551c2
1 changed files with 1 additions and 1 deletions
|
@ -258,7 +258,7 @@ mod test {
|
||||||
vec![Method::Get]
|
vec![Method::Get]
|
||||||
}
|
}
|
||||||
|
|
||||||
fn get(&self, name: String) -> Result<Animal> {
|
fn get(&self, name: String) -> ApiResult<Animal> {
|
||||||
Ok(Animal {
|
Ok(Animal {
|
||||||
name: name,
|
name: name,
|
||||||
legs: 4,
|
legs: 4,
|
||||||
|
|
Loading…
Reference in a new issue