We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents fecb7bd + 5218d09 commit 5771449Copy full SHA for 5771449
core/src/iter/sources/from_fn.rs
@@ -1,7 +1,7 @@
1
use crate::fmt;
2
3
/// Creates an iterator with the provided closure
4
-/// `F: FnMut() -> Option<T>` as its `[next](Iterator::next)` method.
+/// `F: FnMut() -> Option<T>` as its [`next`](Iterator::next) method.
5
///
6
/// The iterator will yield the `T`s returned from the closure.
7
panic_unwind/src/hermit.rs
@@ -7,14 +7,14 @@ use core::any::Any;
8
pub(crate) unsafe fn cleanup(_ptr: *mut u8) -> Box<dyn Any + Send> {
9
extern "C" {
10
- pub fn __rust_abort() -> !;
+ fn __rust_abort() -> !;
11
}
12
__rust_abort();
13
14
15
pub(crate) unsafe fn panic(_data: Box<dyn Any + Send>) -> u32 {
16
17
18
19
20
0 commit comments