update miette to 3.0

This commit is contained in:
Robin Appelman 2022-01-19 15:57:44 +01:00
commit 71427689e7
4 changed files with 15 additions and 26 deletions

View file

@ -1,4 +1,4 @@
use miette::DiagnosticResult;
use miette::Result;
use php_literal_parser::from_str;
use serde_derive::Deserialize;
@ -8,7 +8,7 @@ struct Target {
bars: Vec<u8>,
}
fn main() -> DiagnosticResult<()> {
fn main() -> Result<()> {
let target = from_str(r#"["foo" => true, "bars" => [1, 2, 3, 4]]"#)?;
assert_eq!(