Co-authored-by: neralie <izzyro@tuta.io>
This commit is contained in:
Fenella 2021-10-01 06:38:16 -05:00 committed by GitHub
parent 1b2df75453
commit 9c15e4c887
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -8,7 +8,7 @@ use std::{fmt, str::FromStr};
pub enum Error { pub enum Error {
#[error("Failed to parse \"{0}\" as a length value")] #[error("Failed to parse \"{0}\" as a length value")]
NumParseFailed(String), NumParseFailed(String),
#[error("Inalid unit \"{0}\", must be either % or px")] #[error("Invalid unit \"{0}\", must be either % or px")]
InvalidUnit(String), InvalidUnit(String),
#[error("Invalid format. Coordinates must be formated like 200x100")] #[error("Invalid format. Coordinates must be formated like 200x100")]
MalformedCoords, MalformedCoords,