diff --git a/README.md b/README.md index 1973ef391..a5fa1b773 100644 --- a/README.md +++ b/README.md @@ -29,7 +29,7 @@ pub fn SimpleCounter(cx: Scope, initial_value: i32) -> impl IntoView {
- "Value: " {move || value().to_string()} "!" + "Value: " {value} "!"
} diff --git a/examples/counter/src/lib.rs b/examples/counter/src/lib.rs index 09d3c22c0..6e0b84bb2 100644 --- a/examples/counter/src/lib.rs +++ b/examples/counter/src/lib.rs @@ -17,7 +17,7 @@ pub fn SimpleCounter(
- "Value: " {move || value().to_string()} "!" + "Value: " {value} "!"
} diff --git a/examples/counter_isomorphic/src/counters.rs b/examples/counter_isomorphic/src/counters.rs index cf3b15f7b..f5a77b20f 100644 --- a/examples/counter_isomorphic/src/counters.rs +++ b/examples/counter_isomorphic/src/counters.rs @@ -116,7 +116,7 @@ pub fn Counter(cx: Scope) -> impl IntoView {
- "Value: " {move || value().to_string()} "!" + "Value: " {value} "!"
{move || error_msg().map(|msg| view! { cx,

"Error: " {msg.to_string()}

})} diff --git a/examples/counters/src/lib.rs b/examples/counters/src/lib.rs index e743941b1..c649ceb96 100644 --- a/examples/counters/src/lib.rs +++ b/examples/counters/src/lib.rs @@ -97,10 +97,10 @@ fn Counter(
  • - {move || value().to_string()} + {value}