summary refs log tree commit diff
path: root/src/doc/complement-lang-faq.md
diff options
context:
space:
mode:
authorGraydon Hoare <graydon@pobox.com>2015-04-17 19:52:29 -0700
committerGraydon Hoare <graydon@pobox.com>2015-04-17 19:52:29 -0700
commit7f2f09f1b49777cdc8683efe2ce4bdc6ded3603f (patch)
treeea3e6c6a6a235e5171a15b659cc6e36d05978882 /src/doc/complement-lang-faq.md
parent21e2e6eec86e84eee765c91803f3488a21923a67 (diff)
downloadrust-7f2f09f1b49777cdc8683efe2ce4bdc6ded3603f.tar.gz
rust-7f2f09f1b49777cdc8683efe2ce4bdc6ded3603f.zip
Eliminate the obsolete term 'slot'.
Diffstat (limited to 'src/doc/complement-lang-faq.md')
-rw-r--r--src/doc/complement-lang-faq.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doc/complement-lang-faq.md b/src/doc/complement-lang-faq.md
index 8238dd3a5ba..f731a78ef12 100644
--- a/src/doc/complement-lang-faq.md
+++ b/src/doc/complement-lang-faq.md
@@ -124,7 +124,7 @@ Yes. Calling C code from Rust is simple and exactly as efficient as calling C co
 
 Yes. The Rust code has to be exposed via an `extern` declaration, which makes it C-ABI compatible. Such a function can be passed to C code as a function pointer or, if given the `#[no_mangle]` attribute to disable symbol mangling, can be called directly from C code.
 
-## Why aren't function signatures inferred? Why only local slots?
+## Why aren't function signatures inferred? Why only local variables?
 
 * Mechanically, it simplifies the inference algorithm; inference only requires looking at one function at a time.
 * The same simplification goes double for human readers. A reader does not need an IDE running an inference algorithm across an entire crate to be able to guess at a function's argument types; it's always explicit and nearby.