Skip to content

Commit d31bbe2

Browse files
Get rid rust-analyzer warning about shorthand struct initialization.
1 parent e3a06d7 commit d31bbe2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

analyzeme/src/profiling_data.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ impl ProfilingData {
131131

132132
LightweightEvent {
133133
data: self,
134-
event_index: event_index,
134+
event_index,
135135
timestamp,
136136
thread_id: raw_event.thread_id,
137137
}

0 commit comments

Comments
 (0)