mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-10-22 21:41:37 +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
|
|
@ -31,7 +31,7 @@ impl SnapshotMiddleware for SnapshotRbxlx {
|
|||
let options = rbx_xml::DecodeOptions::new()
|
||||
.property_behavior(rbx_xml::DecodePropertyBehavior::ReadUnknown);
|
||||
|
||||
let temp_tree = rbx_xml::from_reader(entry.contents(vfs)?, options)
|
||||
let temp_tree = rbx_xml::from_reader(entry.contents(vfs)?.as_slice(), options)
|
||||
.expect("TODO: Handle rbx_xml errors");
|
||||
|
||||
let root_id = temp_tree.get_root_id();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue