diff --git a/README.md b/README.md index 1c3181675..ff51bff31 100644 --- a/README.md +++ b/README.md @@ -66,7 +66,7 @@ Here are some resources for learning more about Leptos: Most of the examples assume you’re using `nightly` Rust. If you’re on stable, note the following: -1. You need to enable the `"stable"` flag in `Cargo.toml`: `leptos = { version = "0.0", features = ["stable"] } +1. You need to enable the `"stable"` flag in `Cargo.toml`: `leptos = { version = "0.0", features = ["stable"] }` 2. `nightly` enables the function call syntax for accessing and setting signals. If you’re using `stable`, you’ll just call `.get()`, `.set()`, or `.update()` manually. Check out the [`counters-stable` example](https://github.com/gbj/leptos/blob/main/examples/counters-stable/src/main.rs) diff --git a/leptos/src/lib.rs b/leptos/src/lib.rs index 8d0f6ff18..d475e3b8b 100644 --- a/leptos/src/lib.rs +++ b/leptos/src/lib.rs @@ -13,7 +13,7 @@ //! //! # `nightly` Note //! Most of the examples assume you’re using `nightly` Rust. If you’re on stable, note the following: -//! 1. You need to enable the `"stable"` flag in `Cargo.toml`: `leptos = { version = "0.0", features = ["stable"] } +//! 1. You need to enable the `"stable"` flag in `Cargo.toml`: `leptos = { version = "0.0", features = ["stable"] }` //! 2. `nightly` enables the function call syntax for accessing and setting signals. If you’re using `stable`, //! you’ll just call `.get()`, `.set()`, or `.update()` manually. Check out the //! [`counters-stable` example](https://github.com/gbj/leptos/blob/main/examples/counters-stable/src/main.rs)