fix: cargo fmt and readme update
This commit is contained in:
1 parent
04afce7992
commit
86535e150f
8 files changed
+58
-101
No files matched your search
+2
-3
@@ -1,7 +1,6 @@
|
||||
use std::collections::HashMap;
|
||||
|
||||
use dioxus::{core::ElementId, prelude::*};
|
||||
use rink::TuiNode;
|
||||
use dioxus::prelude::*;
|
||||
|
||||
fn main() {
|
||||
let mut dom = VirtualDom::new(app);
|
||||
@@ -19,7 +18,7 @@ fn main() {
|
||||
.compute_layout(node.layout, stretch2::geometry::Size::undefined())
|
||||
.unwrap();
|
||||
|
||||
for (id, node) in nodes.drain() {
|
||||
for (_id, node) in nodes.drain() {
|
||||
println!("{:?}", layout.layout(node.layout));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user