message: fix typo , drop return and intermediate vector
diff: @@ -185,10 +185,10 @@ impl<'cfg> RegistryIndex<'cfg> {
  // version requested (argument to `--precise`).
  let summaries = summaries.filter(|s| match source_id.precise() {
  Some(p) if p.starts_with(&*dep.name()) && p[dep.name().len()..].starts_with('=') => {
  - let vers: Vec<&str> = p[dep.name().len() + 1..].split("->").collect();
  - if dep.version_req().matches(&Version::parse(vers[0]).unwrap()) {
  - return vers[1] == s.version().to_string()
  - } {
  + let mut vers = p[dep.name().len() + 1..].splitn(2, "->");
  + if dep.version_req().matches(&Version::parse(vers.next().unwrap()).unwrap()) {
  + vers.next().unwrap() == s.version().to_string()
  + } else {
  true
  }
  }
  