pub fn from_strs(x: &str, y: &str) -> Result<Coords> {
        Ok(Coords {
            x: x.parse().with_context(|| format!("Failed to parse '{}'", x))?,
            y: y.parse().with_context(|| format!("Failed to parse '{}'", y))?,
        })
    }
/// parse a string for x and a string for y into a [`Coords`] object.
parse a string for x and a string for y into a [`Coords`] object.
parse a string for x and a string for y into a [ ` Coords ` ] object .
pub fn from_strs(x: &str, y: &str) -> Result<Coords> {
        Ok(Coords {
            x: x.parse().with_context(|| format!("Failed to parse '{}'", x))?,
            y: y.parse().with_context(|| format!("Failed to parse '{}'", y))?,
        })
    }
pub fn from_strs ( x : & str , y : & str ) -> Result < Coords > { Ok ( Coords { x : x . parse ( ) . with_context ( | | format ! ( " " x ) ) ? , y : y . parse ( ) . with_context ( | | format ! ( " " y ) ) ? , } ) }
parse a string for x and a string for y into a [`Coords`] object.
parse a string for x and a string for y into a [ ` Coords ` ] object .
x
&str
y
&str