Skip to content

Commit

Permalink
Fix error caused by pub in private fix
Browse files Browse the repository at this point in the history
rustc had a bug where public things inside private things could be used
under certain circumstances which this crate accidentally used.
  • Loading branch information
Marwes committed Oct 13, 2017
1 parent 371d8bd commit 9a15b01
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/graph.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ impl EdgeIndex {
fn get(&self) -> usize { let EdgeIndex(v) = *self; v }
}

struct Vertex<T> {
pub struct Vertex<T> {
pub value: T,
edges: Vec<EdgeIndex>
}
Expand Down

0 comments on commit 9a15b01

Please sign in to comment.