From 9a74ac01231794624057ac08332229ec1af99428 Mon Sep 17 00:00:00 2001 From: Paul-Nicolas Madelaine Date: Wed, 26 Nov 2025 23:03:23 +0100 Subject: [PATCH] don't impl TryFrom for Position --- src/setup.rs | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/setup.rs b/src/setup.rs index a2afaa7..2d70be0 100644 --- a/src/setup.rs +++ b/src/setup.rs @@ -518,14 +518,6 @@ impl Setup { } } -impl TryFrom for Position { - type Error = IllegalPosition; - #[inline] - fn try_from(setup: Setup) -> Result { - 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 {