1
0
Fork 0

don't impl TryFrom<Setup> for Position

This commit is contained in:
Paul-Nicolas Madelaine 2025-11-26 23:03:23 +01:00
parent b3eee18a16
commit 9a74ac0123

View file

@ -518,14 +518,6 @@ impl Setup {
}
}
impl TryFrom<Setup> for Position {
type Error = IllegalPosition;
#[inline]
fn try_from(setup: Setup) -> Result<Self, Self::Error> {
setup.into_position()
}
}
pub(crate) struct TextRecord<'a>(pub(crate) &'a Setup);
impl<'a> core::fmt::Display for TextRecord<'a> {
fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result {