chore: more clippy

This commit is contained in:
rvcas
2023-02-01 13:23:17 -05:00
committed by Lucas
parent a365649360
commit 99c1c880b0
5 changed files with 12 additions and 11 deletions

View File

@@ -52,7 +52,7 @@ impl Manifest {
let manifest: Self = toml::from_str(&toml).map_err(|e| Error::TomlLoading {
path: manifest_path.clone(),
src: toml.clone(),
named: NamedSource::new(manifest_path.display().to_string(), toml),
named: NamedSource::new(manifest_path.display().to_string(), toml).into(),
// this isn't actually a legit way to get the span
location: e.line_col().map(|(line, col)| Span {
start: line,