(self)
| 257 | impl core::convert::TryInto<PolynomialLabel> for LCTerm { |
| 258 | type Error = (); |
| 259 | fn try_into(self) -> Result<PolynomialLabel, ()> { |
| 260 | match self { |
| 261 | Self::One => Err(()), |
| 262 | Self::PolyLabel(l) => Ok(l), |
| 263 | } |
| 264 | } |
| 265 | } |
| 266 | |
| 267 | impl<'a> core::convert::TryInto<&'a PolynomialLabel> for &'a LCTerm { |
no outgoing calls
no test coverage detected