message: Switching precise check from match to `is_none()`
diff: @@ -44,14 +44,9 @@ pub fn update_lockfile(ws: &Workspace<'_>, opts: &UpdateOptions<'_>) -> CargoRes
  anyhow::bail!("you can't generate a lockfile for an empty workspace.")
  }
  - if opts.config.offline() {
  - match opts.precise {
  - None => {
  + if opts.config.offline() && opts.precise.is_none() {
  anyhow::bail!("you can't update in the offline mode without precise packages");
  }
  - Some(_) => {}
  - }
  - }
  // Updates often require a lot of modifications to the registry, so ensure
  // that we're synchronized against other Cargos.
  