Skip to content

Commit 01c5c47

Browse files
committed
fixed clippy checks
1 parent 144982d commit 01c5c47

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tracing-attributes/src/expand.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -453,7 +453,7 @@ impl RecordType {
453453
if path
454454
.segments
455455
.iter()
456-
.last()
456+
.next_back()
457457
.map(|path_segment| {
458458
let ident = path_segment.ident.to_string();
459459
Self::TYPES_FOR_VALUE.iter().any(|&t| t == ident)

0 commit comments

Comments
 (0)