diff --git a/src/main.rs b/src/main.rs index c9b3ce5..8c3218d 100644 --- a/src/main.rs +++ b/src/main.rs @@ -688,7 +688,6 @@ enum DownloadDecalError{ ParseInt(std::num::ParseIntError), Get(rbx_asset::cookie::GetError), LoadDom(LoadDomError), - FromUtf8(std::string::FromUtf8Error), NoFirstInstance, NoTextureProperty, TexturePropertyInvalid, @@ -766,7 +765,6 @@ async fn create_asset_medias(config:CreateAssetMediasConfig)->AResult<()>{ asset_id:parse_result.map_err(DownloadDecalError::ParseInt)?, version:None, }).await.map_err(DownloadDecalError::Get)?; - println!("{}",String::from_utf8(file.clone()).map_err(DownloadDecalError::FromUtf8)?); let dom=load_dom(std::io::Cursor::new(file)).map_err(DownloadDecalError::LoadDom)?; let instance=dom.get_by_ref( *dom.root().children().first().ok_or(DownloadDecalError::NoFirstInstance)?