Skip to content

Commit 26253e3

Browse files
committed
style(release): format 0.8.4
1 parent d562e8d commit 26253e3

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

statum-macros/src/lib.rs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,11 @@ pub fn validators(attr: TokenStream, item: TokenStream) -> TokenStream {
227227
fn resolved_current_module_path(span: Span, macro_name: &str) -> Result<String, TokenStream> {
228228
let resolved = module_path_for_span(span)
229229
.or_else(current_module_path_opt)
230-
.or_else(|| crate::callsite::source_info_for_span(span).is_none().then_some("crate".to_string()));
230+
.or_else(|| {
231+
crate::callsite::source_info_for_span(span)
232+
.is_none()
233+
.then_some("crate".to_string())
234+
});
231235

232236
resolved.ok_or_else(|| {
233237
let message = format!(

0 commit comments

Comments
 (0)