mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-10-21 12:01:38 +00:00
Fix clippy lint warnings (#1004)
This commit is contained in:
parent
f33d1f1cc4
commit
55a207a275
18 changed files with 69 additions and 76 deletions
|
|
@ -313,7 +313,7 @@ mod test {
|
|||
// addition of a prop named Self, which is a self-referential Ref.
|
||||
let snapshot_id = Ref::new();
|
||||
let snapshot = InstanceSnapshot {
|
||||
snapshot_id: snapshot_id,
|
||||
snapshot_id,
|
||||
properties: [("Self".to_owned(), Variant::Ref(snapshot_id))].into(),
|
||||
|
||||
metadata: Default::default(),
|
||||
|
|
@ -351,7 +351,7 @@ mod test {
|
|||
// This patch describes the existing instance with a new child added.
|
||||
let snapshot_id = Ref::new();
|
||||
let snapshot = InstanceSnapshot {
|
||||
snapshot_id: snapshot_id,
|
||||
snapshot_id,
|
||||
children: vec![InstanceSnapshot {
|
||||
properties: [("Self".to_owned(), Variant::Ref(snapshot_id))].into(),
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue