summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/github.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/github.rs b/src/github.rs
index d4706f9..3810947 100644
--- a/src/github.rs
+++ b/src/github.rs
@@ -71,7 +71,7 @@ impl GitHubApi {
fn graphql<R, V>(&self, query: &str, variables: V) -> Result<R, Error>
where
- R: for<'de> serde::Deserialize<'de>,
+ R: serde::de::DeserializeOwned,
V: serde::Serialize,
{
#[derive(serde::Serialize)]