summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlberto Sartori <alberto.sartori@huawei.com>2024-07-17 15:04:15 +0200
committerAlberto Sartori <alberto.sartori@huawei.com>2024-07-24 13:00:31 +0200
commitd5426a260d88d90c8f275557d8f5ae8e1a55d367 (patch)
tree9dd3cd2441dcb70a2d3aed49cc09a15996323586
parent10ef17e01781b5010f784605fb6ce54d35002bdb (diff)
downloadrules-rust-d5426a260d88d90c8f275557d8f5ae8e1a55d367.tar.gz
rules-rust: getting-started tutorial: fix typos
-rw-r--r--doc/getting-started/README.md9
1 files changed, 4 insertions, 5 deletions
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