Skip to content

Commit 4ab6ee2

Browse files
committed
Replace panic with an actual value to not depend on ! fallback to ()
1 parent b6b70d5 commit 4ab6ee2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

spdlog/tests/compile_fail/pattern_macro_syntax.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
use spdlog::formatter::{pattern, Pattern};
22

33
fn custom_pat_creator() -> impl Pattern {
4-
unimplemented!()
4+
()
55
}
66

77
fn pattern() {

spdlog/tests/compile_fail/pattern_runtime_macro_syntax.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
use spdlog::formatter::{runtime_pattern, Pattern};
22

33
fn custom_pat_creator() -> impl Pattern {
4-
unimplemented!()
4+
()
55
}
66

77
fn runtime_pattern() {

0 commit comments

Comments
 (0)