Skip to content

Commit 320af9b

Browse files
committed
auto merge of #9645 : dckc/rust/patch-2, r=catamorphism
the switch from package `hello` to `pkg_id` is a little jarring; I'd use `<var>` but I don't see how. ALL_CAPS i.e. PKG_ID seems like a reasonable poor-man's `<var>`.
2 parents 12404aa + 398e2c4 commit 320af9b

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)