We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c0096da commit 01e2be8Copy full SHA for 01e2be8
src/lib.rs
@@ -36,12 +36,12 @@ impl Termination for () {
36
/// This function is called on panic.
37
#[cfg_attr(not(test), panic_handler)]
38
#[no_mangle]
39
-pub fn panic(_info: &PanicInfo<'_>) -> ! {
+fn panic(_info: &PanicInfo<'_>) -> ! {
40
#[allow(clippy::empty_loop)]
41
loop {}
42
}
43
44
/// Error handler personality language item (current no-op, to satisfy clippy).
45
#[cfg_attr(not(test), lang = "eh_personality")]
46
47
-pub extern fn rust_eh_personality() {}
+extern fn rust_eh_personality() {}
0 commit comments