Skip to content

Commit 01e2be8

Browse files
committed
These don't need to be public
1 parent c0096da commit 01e2be8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,12 @@ impl Termination for () {
3636
/// This function is called on panic.
3737
#[cfg_attr(not(test), panic_handler)]
3838
#[no_mangle]
39-
pub fn panic(_info: &PanicInfo<'_>) -> ! {
39+
fn panic(_info: &PanicInfo<'_>) -> ! {
4040
#[allow(clippy::empty_loop)]
4141
loop {}
4242
}
4343

4444
/// Error handler personality language item (current no-op, to satisfy clippy).
4545
#[cfg_attr(not(test), lang = "eh_personality")]
4646
#[no_mangle]
47-
pub extern fn rust_eh_personality() {}
47+
extern fn rust_eh_personality() {}

0 commit comments

Comments
 (0)