Enable clippy

This commit is contained in:
Alexandre Kirszenberg committed 2022-01-08 16:35:26 +01:00
1 parent 4f1894ff5c
commit b6903bf558
14 files changed
+46 -50

No files matched your search

+1 -1
View File
@@ -27,7 +27,7 @@ pub fn use_suspense<R: 'static, F: Future<Output = R> + 'static>(
});
if let Some(value) = sus.value.as_ref() {
render(&value)
render(value)
} else {
// generate a placeholder node if the future isnt ready
None