From 4dcebd2fa9988e9ee384f0aa0ca6c949bf8c54d6 Mon Sep 17 00:00:00 2001 From: Liigo Zhuang Date: Tue, 14 Jun 2016 10:50:48 +0800 Subject: [PATCH] reference: link to proper ffi attributes --- src/doc/reference.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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