don't impl TryFrom<Setup> for Position
This commit is contained in:
parent
b3eee18a16
commit
9a74ac0123
1 changed files with 0 additions and 8 deletions
|
|
@ -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);
|
pub(crate) struct TextRecord<'a>(pub(crate) &'a Setup);
|
||||||
impl<'a> core::fmt::Display for TextRecord<'a> {
|
impl<'a> core::fmt::Display for TextRecord<'a> {
|
||||||
fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result {
|
fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue