wip: cut down on errors

This commit is contained in:
Jonathan Kelley committed 2021-07-13 16:48:11 -04:00
1 parent 996247a164
commit 775e9e29b8
6 files changed
+142 -198

No files matched your search

+12
View File
@@ -22,3 +22,15 @@ const App: FC<()> = |cx| {
todo!()
};
const Task: FC<()> = |cx| {
//
let s = cx.use_task(|| async { "hello world".to_string() });
todo!()
};
fn use_mut<P, T>(cx: Context<P>, f: impl FnOnce() -> T) -> &mut T {
todo!()
}