about summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
authorRalf Jung <post@ralfj.de>2019-07-22 10:33:11 +0200
committerRalf Jung <post@ralfj.de>2019-07-22 10:33:11 +0200
commita7b924654070f59297e86ff372ac74c5c701929f (patch)
tree2fcce3825acfa3fe6b0a3b26a1bcbeebbde00b5d /src/libstd
parent40812224cad0d8b89d52fc1ffc3d44e1615794d4 (diff)
downloadrust-a7b924654070f59297e86ff372ac74c5c701929f.tar.gz
rust-a7b924654070f59297e86ff372ac74c5c701929f.zip
weasle, weasle
Diffstat (limited to 'src/libstd')
-rw-r--r--src/libstd/primitive_docs.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libstd/primitive_docs.rs b/src/libstd/primitive_docs.rs
index 5fa15f1fbde..b7196a86701 100644
--- a/src/libstd/primitive_docs.rs
+++ b/src/libstd/primitive_docs.rs
@@ -1043,9 +1043,9 @@ mod prim_ref { }
 /// [`FnOnce`]: ops/trait.FnOnce.html
 ///
 /// Function pointers are pointers that point to *code*, not data. They can be called
-/// just like functions. Like references, function pointers are assumed to not be null,
-/// so if you want to pass a function pointer over FFI and be able to accommodate null pointers,
-/// make your type `Option<fn()>` with your required signature.
+/// just like functions. Like references, function pointers are, among other things, assumed to
+/// not be null, so if you want to pass a function pointer over FFI and be able to accommodate null
+/// pointers, make your type `Option<fn()>` with your required signature.
 ///
 /// Plain function pointers are obtained by casting either plain functions, or closures that don't
 /// capture an environment: