Skip to content

Commit

Permalink
updated comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Connor Shugg committed Feb 11, 2025
1 parent 255f581 commit 9d23428
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/env.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ impl Update {
}
}

/// Function that examines the `TRYBUILD_OFFLINE_MODE` environment variable and
/// returns a boolean indicating whether or not the `--offline` option should be
/// passed to cargo.
/// Function that examines the `TRYBUILD_NO_OFFLINE_MODE` environment variable
/// and returns a boolean indicating whether or not the `--offline` option
/// should be passed to cargo.
pub(crate) fn use_offline_mode() -> bool {
// if the environment variable is set (we don't care what value), then
// offline mode should be disabled. Otherwise, it should be enabled (the
Expand Down

0 comments on commit 9d23428

Please sign in to comment.