Fix Rust code lints (#1448)

* Fix Rust lints to satisfy Clippy

* Remove some unused commented out code
This commit is contained in:
Keavon Chambers 2023-11-05 13:52:00 -08:00 committed by GitHub
parent f6d104265a
commit 605c0de392
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
24 changed files with 117 additions and 187 deletions

View file

@ -228,7 +228,7 @@ impl DocumentNode {
identifier: fqn,
input,
construction_args: args,
document_node_path: self.path.unwrap_or(Vec::new()),
document_node_path: self.path.unwrap_or_default(),
skip_deduplication: self.skip_deduplication,
hash: self.hash,
}