Skip to content

Commit

Permalink
auto merge of #9645 : dckc/rust/patch-2, r=catamorphism
Browse files Browse the repository at this point in the history
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>`.
  • Loading branch information
bors committed Oct 1, 2013
2 parents 12404aa + 398e2c4 commit 320af9b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions doc/tutorial-rustpkg.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,11 @@ This makes sense, as we haven't gotten it from anywhere yet! Luckily for us,
used like this:
~~~ {.notrust}
$ rustpkg install pkg_id
$ rustpkg install PKG_ID
~~~
This will install a package named 'pkg_id' into your current Rust environment.
I called it 'pkg_id' in this example because `rustpkg` calls this a 'package
This will install a package named `PKG_ID` into your current Rust environment.
I called it `PKG_ID` in this example because `rustpkg` calls this a 'package
identifier.' When using it with an external package like this, it's often a
URI fragment. You see, Rust has no central authority for packages. You can
build your own `hello` library if you want, and that's fine. We'd both host
Expand Down

0 comments on commit 320af9b

Please sign in to comment.