From d5426a260d88d90c8f275557d8f5ae8e1a55d367 Mon Sep 17 00:00:00 2001 From: Alberto Sartori Date: Wed, 17 Jul 2024 15:04:15 +0200 Subject: rules-rust: getting-started tutorial: fix typos --- doc/getting-started/README.md | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'doc/getting-started/README.md') diff --git a/doc/getting-started/README.md b/doc/getting-started/README.md index ee433e3..3d02349 100644 --- a/doc/getting-started/README.md +++ b/doc/getting-started/README.md @@ -20,11 +20,11 @@ $ tree ├── ROOT └── TARGETS -0 directories, 5 files +1 directories, 5 files ``` Apart from the `README.md` (this file) and `main.rs`, which should be expected, three additional files are required: - - `ROOT`, which is just an empty file that sets the worspace root of the given project; + - `ROOT`, which is just an empty file that sets the workspace root of the given project; - `etc/repos.json` contains all the repositories involved - can you guess how many repos we need? - `TARGETS`, which contains the target descriptions. @@ -298,7 +298,7 @@ The `foo/TARGETS` file can be as simple as , "name": ["foo"] , "crate_root": ["foo.rs"] , "stage": ["foo"] - } + } } ``` @@ -417,7 +417,6 @@ To become more acquainted with the Rust rules, you may want to: - let `foo` be a module instead of a separate library (hint: `foo/foo.rs` must be added to the `"srcs"` field of the `"hello"` - target; + target); - set the `rustc` edition for all the crates within this project. - \ No newline at end of file -- cgit v1.2.3