File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 1
1
use crate :: fmt;
2
2
3
3
/// Creates an iterator with the provided closure
4
- /// `F: FnMut() -> Option<T>` as its `[ next](Iterator::next)` method.
4
+ /// `F: FnMut() -> Option<T>` as its [` next` ](Iterator::next) method.
5
5
///
6
6
/// The iterator will yield the `T`s returned from the closure.
7
7
///
Original file line number Diff line number Diff line change @@ -7,14 +7,14 @@ use core::any::Any;
7
7
8
8
pub ( crate ) unsafe fn cleanup ( _ptr : * mut u8 ) -> Box < dyn Any + Send > {
9
9
extern "C" {
10
- pub fn __rust_abort ( ) -> !;
10
+ fn __rust_abort ( ) -> !;
11
11
}
12
12
__rust_abort ( ) ;
13
13
}
14
14
15
15
pub ( crate ) unsafe fn panic ( _data : Box < dyn Any + Send > ) -> u32 {
16
16
extern "C" {
17
- pub fn __rust_abort ( ) -> !;
17
+ fn __rust_abort ( ) -> !;
18
18
}
19
19
__rust_abort ( ) ;
20
20
}
You can’t perform that action at this time.
0 commit comments