mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-10-23 22:11:38 +00:00
Refactor code for improved readability and consistency
- Simplified function calls and removed unnecessary line breaks in `change_processor.rs`, `rojo_ref.rs`, `syncback/meta.rs`, `syncback/mod.rs`, `syncback/ref_properties.rs`, and `web/api.rs` to enhance code clarity. - Updated test assertions in `two_way_sync.rs` for better readability by consolidating multiple lines into single assertions. These changes improve the overall maintainability and readability of the codebase.
This commit is contained in:
parent
b8c3520d25
commit
6f8e5a5cf2
7 changed files with 32 additions and 88 deletions
|
|
@ -494,8 +494,7 @@ mod tests {
|
|||
|
||||
let links = collect_referents(&dom2, &HashMap::new(), None);
|
||||
|
||||
let placeholders: Vec<&String> =
|
||||
links.placeholder_to_source_and_target.keys().collect();
|
||||
let placeholders: Vec<&String> = links.placeholder_to_source_and_target.keys().collect();
|
||||
|
||||
assert!(
|
||||
placeholders.len() >= 2,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue