about summary refs log tree commit diff
diff options
context:
space:
mode:
authorLiigo Zhuang <liigo@qq.com>2016-06-14 10:50:48 +0800
committerGitHub <noreply@github.com>2016-06-14 10:50:48 +0800
commit4dcebd2fa9988e9ee384f0aa0ca6c949bf8c54d6 (patch)
tree9c323efde4248de793617b14d095e42f99ae7559
parentab0b87458f8c5d4762feae5e9d5c93ce6f644f6b (diff)
downloadrust-4dcebd2fa9988e9ee384f0aa0ca6c949bf8c54d6.tar.gz
rust-4dcebd2fa9988e9ee384f0aa0ca6c949bf8c54d6.zip
reference: link to proper ffi attributes
-rw-r--r--src/doc/reference.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doc/reference.md b/src/doc/reference.md
index fac9cfadd97..fb8ea0f5661 100644
--- a/src/doc/reference.md
+++ b/src/doc/reference.md
@@ -1628,7 +1628,7 @@ Functions within external blocks may be called by Rust code, just like
 functions defined in Rust. The Rust compiler automatically translates between
 the Rust ABI and the foreign ABI.
 
-A number of [attributes](#attributes) control the behavior of external blocks.
+A number of [attributes](#ffi-attributes) control the behavior of external blocks.
 
 By default external blocks assume that the library they are calling uses the
 standard C "cdecl" ABI. Other ABIs may be specified using an `abi` string, as