Remove unused code
This commit is contained in:
parent
693ae9eb81
commit
ab7b7295ca
3 changed files with 2 additions and 10 deletions
|
|
@ -89,8 +89,6 @@ impl SubAssign<u32> for NodeIdx {
|
|||
pub struct EdgeIdx(pub u32);
|
||||
|
||||
impl EdgeIdx {
|
||||
pub const NONE: Self = Self(u32::MAX);
|
||||
|
||||
#[inline]
|
||||
pub const fn new(value: usize) -> Self {
|
||||
Self(value as u32)
|
||||
|
|
@ -185,10 +183,6 @@ pub struct Graph {
|
|||
}
|
||||
|
||||
impl Graph {
|
||||
pub fn new() -> Self {
|
||||
Self::default()
|
||||
}
|
||||
|
||||
pub fn with_capacity(nodes: usize, edges: usize) -> Self {
|
||||
Self {
|
||||
nodes: Vec::with_capacity(nodes),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue