feat: update builder

This commit is contained in:
Jonathan Kelley committed 2021-02-10 12:50:34 -05:00
1 parent c97a9647e3
commit 8329268d39
2 files changed
+18 -18

No files matched your search

+2 -2
View File
@@ -19,14 +19,14 @@ cannot drag the refs into the closure w
*/
static Example: FC<()> = |ctx| {
let value = use_context(&ctx, |ctx: &SomeContext| ctx.items.last().unwrap());
// let value = use_context(&ctx, |ctx: &SomeContext| ctx.items.last().unwrap());
// let b = *value;
// let v2 = *value;
let cb = move |e| {
// let g = b.as_str();
// let g = (v2).as_str();
let g = (value).as_str();
// let g = (value).as_str();
// let g = b.as_str();
};
// let r = *value;