Explorar el Código

Merge pull request #293 from mrxiaozhuox/patch-2

Fixed Document
Jonathan Kelley hace 3 años
padre
commit
f5608b17b8
Se han modificado 1 ficheros con 0 adiciones y 1 borrados
  1. 0 1
      docs/guide/src/interactivity/hooks.md

+ 0 - 1
docs/guide/src/interactivity/hooks.md

@@ -139,7 +139,6 @@ fn Child(cx: Scope, name: String) -> Element {
 }
 
 // ✅ Or, use a hashmap with use_ref
-```rust
 let ages = use_ref(&cx, || HashMap::new());
 
 names.iter().map(|name| {