diff --git a/src/env.rs b/src/env.rs index 0a61077..2636d08 100644 --- a/src/env.rs +++ b/src/env.rs @@ -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