Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.

Commit 2dec942

Browse files
authored
fixed a comment in the system pallet (#14466)
1 parent 25993e8 commit 2dec942

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

frame/system/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1297,7 +1297,7 @@ impl<T: Config> Pallet<T> {
12971297
let phase = ExecutionPhase::<T>::get().unwrap_or_default();
12981298
let event = EventRecord { phase, event, topics: topics.to_vec() };
12991299

1300-
// Index of the to be added event.
1300+
// Index of the event to be added.
13011301
let event_idx = {
13021302
let old_event_count = EventCount::<T>::get();
13031303
let new_event_count = match old_event_count.checked_add(1) {

0 commit comments

Comments
 (0)