From b8c6a09a942f74148d3aa497347e3f5964ad9d6f Mon Sep 17 00:00:00 2001 From: Simon Hausmann Date: Wed, 11 Sep 2024 08:21:58 +0200 Subject: [PATCH] doc: Simplify Getting Started for Rust There's no need anymore to use cargo-generate. --- docs/reference/src/quickstart/getting_started.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/docs/reference/src/quickstart/getting_started.md b/docs/reference/src/quickstart/getting_started.md index b40d97ac2..e9c353b25 100644 --- a/docs/reference/src/quickstart/getting_started.md +++ b/docs/reference/src/quickstart/getting_started.md @@ -134,11 +134,10 @@ Run the example with `npm start` and a window appears with the green "Hello Worl We recommend using [rust-analyzer](https://rust-analyzer.github.io) and [our editor integrations for Slint](https://github.com/slint-ui/slint/tree/master/editors) for following this tutorial. -Install the [template](https://github.com/slint-ui/slint-rust-template) with the following commands: +Clone or download the template repository: ```sh -cargo install cargo-generate -cargo generate --git https://github.com/slint-ui/slint-rust-template --name memory +git clone https://github.com/slint-ui/slint-rust-template memory cd memory ```