summaryrefslogtreecommitdiff
path: root/chain/src/item/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'chain/src/item/mod.rs')
-rw-r--r--chain/src/item/mod.rs20
1 files changed, 0 insertions, 20 deletions
diff --git a/chain/src/item/mod.rs b/chain/src/item/mod.rs
index 39d04c7..f8e0aa0 100644
--- a/chain/src/item/mod.rs
+++ b/chain/src/item/mod.rs
@@ -75,26 +75,6 @@ impl PaVi {
}
}
- // /// Get the "Virtual" variant.
- // ///
- // /// # Name
- // ///
- // /// We cannot use the name "virtual" since it is a reserved
- // /// keyword in Rust, so we use its French name.
- // ///
- // /// # Tuple elements
- // ///
- // /// The returned tuple is of the form (nt, t, node), which means a
- // /// virtually added node at the `node` representing the expansion
- // /// from the non-terminal `nt` by the terminal `t`.
- // fn virtuel(self) -> Option<(usize, usize, usize)> {
- // if let Self::Virtual(nt, t, node) = self {
- // Some((nt, t, node))
- // } else {
- // None
- // }
- // }
-
/// Is this an empty segment?
fn is_empty(self) -> bool {
self == Self::Empty