Skip to content

Commit

Permalink
Replace panic with actual value to not depend on ! fallback being ()
Browse files Browse the repository at this point in the history
  • Loading branch information
SpriteOvO committed Sep 19, 2024
1 parent b6b70d5 commit 2b06b20
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion spdlog/tests/compile_fail/pattern_macro_syntax.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
use spdlog::formatter::{pattern, Pattern};

fn custom_pat_creator() -> impl Pattern {
unimplemented!()
()
}

fn pattern() {
Expand Down
2 changes: 1 addition & 1 deletion spdlog/tests/compile_fail/pattern_runtime_macro_syntax.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
use spdlog::formatter::{runtime_pattern, Pattern};

fn custom_pat_creator() -> impl Pattern {
unimplemented!()
()
}

fn runtime_pattern() {
Expand Down

0 comments on commit 2b06b20

Please sign in to comment.