about summary refs log tree commit diff
path: root/src/doc
diff options
context:
space:
mode:
authorKeegan McAllister <kmcallister@mozilla.com>2014-05-24 21:31:50 -0700
committerKeegan McAllister <kmcallister@mozilla.com>2014-06-09 14:29:30 -0700
commitaca0bac29f7d7e86edfb5850cef1ab9b5e4797f2 (patch)
tree789fc211a957d515b86cc1b99421cf17e975d9fb /src/doc
parented41b71fbe69cc920a3a021ac4e96dc4d5cc488c (diff)
downloadrust-aca0bac29f7d7e86edfb5850cef1ab9b5e4797f2.tar.gz
rust-aca0bac29f7d7e86edfb5850cef1ab9b5e4797f2.zip
Convert libraries to use #[plugin_registrar]
Diffstat (limited to 'src/doc')
-rw-r--r--src/doc/rust.md5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/doc/rust.md b/src/doc/rust.md
index 38883118114..35d356bb1b5 100644
--- a/src/doc/rust.md
+++ b/src/doc/rust.md
@@ -1819,9 +1819,8 @@ type int8_t = i8;
 
 ### Function-only attributes
 
-- `macro_registrar` - when using loadable syntax extensions, mark this
-  function as the registration point for the current crate's syntax
-  extensions.
+- `plugin_registrar` - mark this function as the registration point for
+  compiler plugins, such as loadable syntax extensions.
 - `main` - indicates that this function should be passed to the entry point,
   rather than the function in the crate root named `main`.
 - `start` - indicates that this function should be used as the entry point,