message: _cargo: Make function style consistent
diff: @@ -381,7 +381,7 @@ case $state in
  '--aggressive=[force dependency update]' \
  '(-h, --help)'{-h,--help}'[show help message]' \
  '--manifest-path=[path to manifest]: :_files -/' \
  - '(-p,--package)'{-p=,--package=}'[package to update]:packages:__get_package_names' \
  + '(-p,--package)'{-p=,--package=}'[package to update]:packages:_get_package_names' \
  '--precise=[update single dependency to PRECISE]: :' \
  '(-q, --quiet)'{-q,--quiet}'[no output printed to stdout]' \
  '(-v, --verbose)'{-v,--verbose}'[use verbose output]' \
  @@ -429,22 +429,20 @@ _cargo_cmds(){
  #FIXME: Disabled until fixed
  #gets package names from the manifest file
  -_get_package_names()
  -{
  +_get_package_names() {
  }
  #TODO:see if it makes sense to have 'locate-project' to have non-json output.
  #strips package name from json stuff
  _locate_manifest() {
  -local manifest=`cargo locate-project 2>/dev/null`
  + local manifest=$(cargo locate-project 2>/dev/null)
  regexp-replace manifest '\{"root":"|"\}' ''
  echo $manifest
  }
  # Extracts the values of "name" from the array given in $1 and shows them as
  # command line options for completion
  -_get_names_from_array()
  -{
  +_get_names_from_array() {
  local -a filelist;
  local manifest=$(_locate_manifest)
  if [[ -z $manifest ]]; then
  @@ -480,14 +478,12 @@ _get_names_from_array()
  }
  #Gets the test names from the manifest file
  -_test_names()
  -{
  +_test_names() {
  _get_names_from_array "test"
  }
  #Gets the bench names from the manifest file
  -_benchmark_names()
  -{
  +_benchmark_names() {
  _get_names_from_array "bench"
  }
  