Fix clippy lints (#1327)

* Fix clippy lints

* Update formatting

* Remove unsafe send impls

* New type for Rc<NodeContainer>
This commit is contained in:
0HyperCube
2023-07-19 16:38:23 +01:00
committed by Keavon Chambers
parent 743803ce04
commit 80cc5bee73
80 changed files with 549 additions and 445 deletions

View File

@@ -16,9 +16,9 @@ dyn-any = { path = "../../libraries/dyn-any", features = ["log-bad-types", "rc",
num-traits = "0.2"
log = "0.4"
serde = { version = "1", features = ["derive", "rc"], optional = true }
glam = { version = "0.22" }
base64 = "0.13"
glam = { version = "0.24" }
base64 = "0.21"
vulkano = { git = "https://github.com/GraphiteEditor/vulkano", branch = "fix_rust_gpu"}
bytemuck = {version = "1.8" }
anyhow = "1.0.66"
bytemuck = { version = "1.13" }
anyhow = "1.0"

View File

@@ -110,7 +110,7 @@ fn create_buffer<T: Pod + Send + Sync>(data: Vec<T>, alloc: &StandardMemoryAlloc
..Default::default()
};
buffer::CpuAccessibleBuffer::from_iter(alloc, buffer_usage, false, data.into_iter())
buffer::CpuAccessibleBuffer::from_iter(alloc, buffer_usage, false, data)
}
// TODO: Fix this test