Skip to content

Instantly share code, notes, and snippets.

@mzumi
Created March 9, 2017 11:57
Show Gist options
  • Save mzumi/1e9bbada7e71e2e8ea313d33f24adfe2 to your computer and use it in GitHub Desktop.
Save mzumi/1e9bbada7e71e2e8ea313d33f24adfe2 to your computer and use it in GitHub Desktop.
fn response(&self, buf: &String) -> Result<SearchResponse<Self::I>, GitHubClientError> {
let result = json::decode(&buf)?;
Ok(result)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment