Skip to content

Commit 398e2c4

Browse files
committed
clarify that rust_pkg is a place-holder
the switch from package `hello` to `rust_pkg` is a little jarring; I'd use <var> but I don't see how. ALL_CAPS seems like a reasonable poor-man's <var>.
1 parent bc6dd90 commit 398e2c4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

doc/tutorial-rustpkg.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,11 @@ This makes sense, as we haven't gotten it from anywhere yet! Luckily for us,
3535
used like this:
3636

3737
~~~ {.notrust}
38-
$ rustpkg install pkg_id
38+
$ rustpkg install PKG_ID
3939
~~~
4040

41-
This will install a package named 'pkg_id' into your current Rust environment.
42-
I called it 'pkg_id' in this example because `rustpkg` calls this a 'package
41+
This will install a package named `PKG_ID` into your current Rust environment.
42+
I called it `PKG_ID` in this example because `rustpkg` calls this a 'package
4343
identifier.' When using it with an external package like this, it's often a
4444
URI fragment. You see, Rust has no central authority for packages. You can
4545
build your own `hello` library if you want, and that's fine. We'd both host

0 commit comments

Comments
 (0)