Skip to content

Commit 1cefbe5

Browse files
committed
Update rustdoc.md : rename pkgid to crate_id
1 parent afe8f6e commit 1cefbe5

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

doc/rustdoc.md

+1-3
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,7 @@ Documenting Rust APIs is quite simple. To document a given item, we have "doc
1111
comments":
1212

1313
~~~
14-
// the "link" crate attribute is currently required for rustdoc, but normally
15-
// isn't needed.
16-
#[pkgid = "universe"];
14+
#[crate_id = "universe"];
1715
#[crate_type="lib"];
1816
1917
//! Tools for dealing with universes (this is a doc comment, and is shown on

0 commit comments

Comments
 (0)