From a57c228580b8e3630144cc16b342da0908f12626 Mon Sep 17 00:00:00 2001 From: Quaternions Date: Mon, 2 Oct 2023 18:38:30 -0700 Subject: [PATCH] styling --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index 88116e9..a700a19 100644 --- a/src/main.rs +++ b/src/main.rs @@ -124,7 +124,7 @@ fn load_dom(input:&mut R)->AResult{ b"lox "=>return rbx_xml::from_reader(input,rbx_xml::DecodeOptions::default()).map_err(anyhow::Error::msg), other=>Err(anyhow::Error::msg(format!("Unknown Roblox file type {:?}",other))), } - } + }, _=>Err(anyhow::Error::msg("unsupported file type")), } }else{