diff --git a/ecosystem/python/parser/src/parser/metadata.rs b/ecosystem/python/parser/src/parser/metadata.rs index 346c4195..58eebd48 100644 --- a/ecosystem/python/parser/src/parser/metadata.rs +++ b/ecosystem/python/parser/src/parser/metadata.rs @@ -53,7 +53,7 @@ impl Parser<&std::path::Path> for MetadataParser { .ok_or("Failed to find metadata file.")? .path() .join("METADATA"); - let content = std::fs::read_to_string(&metadata_file)?; + let content = std::fs::read_to_string(metadata_file)?; let metadata = python_pkginfo::Metadata::parse(content.as_bytes()) .map_err(|e| Error::Message(format!("Failed to parse metadata: {}", e)))?; self.parse(metadata, config) diff --git a/tools/editor/src/gui/ui/utils/string_editable_field/mod.rs b/tools/editor/src/gui/ui/utils/string_editable_field/mod.rs index 2f306e5e..a38d6b06 100644 --- a/tools/editor/src/gui/ui/utils/string_editable_field/mod.rs +++ b/tools/editor/src/gui/ui/utils/string_editable_field/mod.rs @@ -6,7 +6,7 @@ mod string_editable; pub use string_editable::*; #[derive(Default)] -pub struct StringField; +pub struct StringField {} impl StringField { pub fn new() -> Self {