about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--doc/rust.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/rust.md b/doc/rust.md
index aa4ce002e02..4e2868a764f 100644
--- a/doc/rust.md
+++ b/doc/rust.md
@@ -790,7 +790,7 @@ extern mod extra; // equivalent to: extern mod extra = "extra";
 
 extern mod rustextra = "extra"; // linking to 'extra' under another name
 
-extern mod foo = "some/where/foo#1.0"; // a full package ID for rustpkg
+extern mod foo = "some/where/rust-foo#foo:1.0"; // a full package ID for rustpkg
 ~~~~
 
 ##### Use declarations