Skip to content

Commit

Permalink
fix unused panic-info
Browse files Browse the repository at this point in the history
  • Loading branch information
boozook committed Feb 10, 2024
1 parent 2d16f01 commit fb49453
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion api/sys/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "playdate-sys"
version = "0.2.16"
version = "0.2.17"
build = "src/build.rs"
readme = "README.md"
description = "Low-level Playdate API bindings"
Expand Down
2 changes: 1 addition & 1 deletion api/sys/src/sys/panic.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ use super::proc::error;


#[panic_handler]
fn panic(#[allow(unused)] panic_info: &PanicInfo) -> ! {
fn panic(panic_info: &PanicInfo) -> ! {
let mut output = ArrayString::<1024>::new();
let payload = if let Some(payload) = panic_info.payload().downcast_ref::<&str>() {
payload
Expand Down

0 comments on commit fb49453

Please sign in to comment.