Skip to content

Commit a7b9246

Browse files
committed
weasle, weasle
1 parent 4081222 commit a7b9246

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/libstd/primitive_docs.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -1043,9 +1043,9 @@ mod prim_ref { }
10431043
/// [`FnOnce`]: ops/trait.FnOnce.html
10441044
///
10451045
/// Function pointers are pointers that point to *code*, not data. They can be called
1046-
/// just like functions. Like references, function pointers are assumed to not be null,
1047-
/// so if you want to pass a function pointer over FFI and be able to accommodate null pointers,
1048-
/// make your type `Option<fn()>` with your required signature.
1046+
/// just like functions. Like references, function pointers are, among other things, assumed to
1047+
/// not be null, so if you want to pass a function pointer over FFI and be able to accommodate null
1048+
/// pointers, make your type `Option<fn()>` with your required signature.
10491049
///
10501050
/// Plain function pointers are obtained by casting either plain functions, or closures that don't
10511051
/// capture an environment:

0 commit comments

Comments
 (0)