From dd826afd880471e507d5ef887c54ad07ad8190cd Mon Sep 17 00:00:00 2001 From: kud1ing Date: Tue, 10 Dec 2013 13:01:46 +0100 Subject: [PATCH] proto is gone The following files need to be adjusted, too (i can't do it now): - doc/po/ja/rust.md.po - doc/po/rust.md.pot --- doc/rust.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/doc/rust.md b/doc/rust.md index 7368ba2b7e7be..7b89b803975fa 100644 --- a/doc/rust.md +++ b/doc/rust.md @@ -486,14 +486,12 @@ include: * `fmt!` : format data into a string * `env!` : look up an environment variable's value at compile time * `stringify!` : pretty-print the Rust expression given as an argument -* `proto!` : define a protocol for inter-task communication * `include!` : include the Rust expression in the given file * `include_str!` : include the contents of the given file as a string * `include_bin!` : include the contents of the given file as a binary blob * `error!`, `warn!`, `info!`, `debug!` : provide diagnostic information. -All of the above extensions, with the exception of `proto!`, are expressions -with values. `proto!` is an item, defining a new name. +All of the above extensions are expressions with values. ## Macros