Skip to content

Commit

Permalink
Remove unused method implementing From trait
Browse files Browse the repository at this point in the history
This was used in an obsolete, experimental, pyo3 interface.
Might be needed in the future, but not now.

Closes #76
  • Loading branch information
jlapeyre committed Feb 9, 2024
1 parent b40eec7 commit 07131e2
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions crates/oq3_semantics/src/symbols.rs
Original file line number Diff line number Diff line change
Expand Up @@ -53,14 +53,6 @@ impl Default for SymbolId {
}
}

// I'd rather keep the implementation and value secret.
// But Python. This is useful for the pyo3 consumer.
impl From<SymbolId> for usize {
fn from(symid: SymbolId) -> usize {
symid.0
}
}

#[derive(Clone, Debug, PartialEq, Eq, Hash)]
pub enum SymbolError {
MissingBinding,
Expand Down

0 comments on commit 07131e2

Please sign in to comment.