fix(codegen): fix clippy::unused_peekable
warning
#9236
Merged
clippy::unused_peekable
warning
#9236