From 1cefbe5a853e305c76b89bf46ecfe72ba00f298f Mon Sep 17 00:00:00 2001 From: eliovir Date: Sun, 29 Dec 2013 13:45:44 +0100 Subject: [PATCH] Update rustdoc.md : rename pkgid to crate_id --- doc/rustdoc.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/doc/rustdoc.md b/doc/rustdoc.md index 39fc03bca0d1e..2ecb579423037 100644 --- a/doc/rustdoc.md +++ b/doc/rustdoc.md @@ -11,9 +11,7 @@ Documenting Rust APIs is quite simple. To document a given item, we have "doc comments": ~~~ -// the "link" crate attribute is currently required for rustdoc, but normally -// isn't needed. -#[pkgid = "universe"]; +#[crate_id = "universe"]; #[crate_type="lib"]; //! Tools for dealing with universes (this is a doc comment, and is shown on