Skip to content

Commit defbbe1

Browse files
committed
Clean up a few warnings
1 parent 4e8d486 commit defbbe1

File tree

3 files changed

+1
-6
lines changed

3 files changed

+1
-6
lines changed

graphql_query_derive/src/operations.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
use constants::*;
2-
use graphql_parser;
32
use graphql_parser::query::OperationDefinition;
43
use heck::SnakeCase;
54
use proc_macro2::{Span, TokenStream};

graphql_query_derive/src/query.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
use failure;
22
use fragments::GqlFragment;
3-
use graphql_parser;
4-
use heck::SnakeCase;
53
use operations::Operation;
6-
use proc_macro2::{Ident, Span, TokenStream};
4+
use proc_macro2::TokenStream;
75
use schema::Schema;
86
use selection::Selection;
97
use std::collections::BTreeMap;

src/lib.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ use std::collections::HashMap;
2424
///
2525
/// Example:
2626
///
27-
///
2827
/// ```
2928
/// extern crate failure;
3029
/// #[macro_use]
@@ -65,7 +64,6 @@ use std::collections::HashMap;
6564
/// Ok(())
6665
/// }
6766
/// ```
68-
/// ```
6967
pub trait GraphQLQuery<'de> {
7068
/// The shape of the variables expected by the query. This should be a generated struct most of the time.
7169
type Variables: serde::Serialize;

0 commit comments

Comments
 (0)