Skip to content

Commit

Permalink
Merge pull request #495 from caspermeijn/clippy
Browse files Browse the repository at this point in the history
style: Remove unused structs
  • Loading branch information
tomhoule authored Oct 24, 2024
2 parents e4b37c4 + a4a3517 commit 0c52c4c
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions graphql_client_codegen/src/schema.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,6 @@ use std::collections::{BTreeMap, BTreeSet};

pub(crate) const DEFAULT_SCALARS: &[&str] = &["ID", "String", "Int", "Float", "Boolean"];

#[derive(Debug, PartialEq, Clone)]
struct StoredObjectField {
name: String,
object: ObjectId,
}

#[derive(Debug, PartialEq, Clone)]
pub(crate) struct StoredObject {
pub(crate) name: String,
Expand Down Expand Up @@ -47,9 +41,6 @@ pub(crate) enum StoredFieldParent {
#[derive(Debug, Clone, Copy, PartialEq, Hash, Eq, PartialOrd, Ord)]
pub(crate) struct ObjectId(u32);

#[derive(Debug, Clone, Copy, PartialEq, Hash, Eq)]
pub(crate) struct ObjectFieldId(usize);

#[derive(Debug, Clone, Copy, PartialEq, Hash, Eq, PartialOrd, Ord)]
pub(crate) struct InterfaceId(usize);

Expand All @@ -68,9 +59,6 @@ pub(crate) struct InputId(u32);
#[derive(Debug, Clone, Copy, PartialEq)]
pub(crate) struct StoredFieldId(usize);

#[derive(Debug, Clone, Copy, PartialEq)]
struct InputFieldId(usize);

#[derive(Debug, Clone, PartialEq)]
pub(crate) struct StoredInterface {
name: String,
Expand Down

0 comments on commit 0c52c4c

Please sign in to comment.