fix: clippy

This commit is contained in:
Nova
2022-10-21 06:21:49 -04:00
parent b189a6a73c
commit a572b215b9
9 changed files with 79 additions and 43 deletions

View File

@@ -206,7 +206,7 @@ pub fn ray_march(ray: Ray, field: &Field) -> RayMarchResult {
}
pub fn find_field(client: &Client, path: &str) -> Result<Arc<Field>> {
Ok(client
client
.get_node("Field", path)?
.get_aspect("Field", "info", |n| &n.field)?)
.get_aspect("Field", "info", |n| &n.field)
}