mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-10-21 12:01:38 +00:00
Make all file contents be Arc<Vec<u8>> instead of &[u8]
This commit is contained in:
parent
1031600c63
commit
1967f738a8
9 changed files with 27 additions and 25 deletions
|
|
@ -33,7 +33,7 @@ impl SnapshotMiddleware for SnapshotJsonModel {
|
|||
};
|
||||
|
||||
let instance: JsonModel =
|
||||
serde_json::from_slice(entry.contents(vfs)?).expect("TODO: Handle serde_json errors");
|
||||
serde_json::from_slice(&entry.contents(vfs)?).expect("TODO: Handle serde_json errors");
|
||||
|
||||
if let Some(json_name) = &instance.name {
|
||||
if json_name != &instance_name {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue