char: fix unused import warning
iter: add a find function
iter: add max and min functions
auto merge of #6131 : thestinger/rust/new_iter, r=graydon