doc: update reference to new vector size syntax
auto merge of #11335 : rlane/rust/fix-vector-doc, r=alexcrichton