Skip to content

Commit

Permalink
Drop defunct method
Browse files Browse the repository at this point in the history
  • Loading branch information
criminosis committed Apr 1, 2021
1 parent d65c90f commit 4256e01
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions gremlin-client/src/structure/value.rs
Original file line number Diff line number Diff line change
Expand Up @@ -461,16 +461,6 @@ where
.collect::<GremlinResult<HashSet<T>>>()
}

fn convert_gset_vec_to_set<T>(glist: &Set) -> GremlinResult<HashSet<T>>
where
T: std::convert::TryFrom<GValue, Error = GremlinError> + Hash + Eq,
{
glist
.iter()
.map(|x| x.clone().try_into())
.collect::<GremlinResult<HashSet<T>>>()
}

fn for_set<T>(gset: &Set) -> GremlinResult<HashSet<T>>
where
T: std::convert::TryFrom<GValue, Error = GremlinError> + Hash + Eq,
Expand Down

0 comments on commit 4256e01

Please sign in to comment.