diff --git a/src/cargo/core/source_id.rs b/src/cargo/core/source_id.rs index d688b873914f..de797500d9c3 100644 --- a/src/cargo/core/source_id.rs +++ b/src/cargo/core/source_id.rs @@ -618,7 +618,7 @@ impl fmt::Display for SourceId { // Don't replace the URL display for git references, // because those are kind of expected to be URLs. write!(f, "{}", self.inner.url)?; - // TODO(-Znext-lockfile-bump): set it to true when stabilizing + // TODO(-Znext-lockfile-bump): set it to true when the default is // lockfile v4, because we want Source ID serialization to be // consistent with lockfile. if let Some(pretty) = reference.pretty_ref(false) { diff --git a/src/cargo/sources/git/source.rs b/src/cargo/sources/git/source.rs index f006a591cce4..ef19d28a9f54 100644 --- a/src/cargo/sources/git/source.rs +++ b/src/cargo/sources/git/source.rs @@ -168,7 +168,7 @@ impl<'cfg> Debug for GitSource<'cfg> { fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result { write!(f, "git repo at {}", self.remote.url())?; - // TODO(-Znext-lockfile-bump): set it to true when stabilizing + // TODO(-Znext-lockfile-bump): set it to true when the default is // lockfile v4, because we want Source ID serialization to be // consistent with lockfile. match self.manifest_reference.pretty_ref(false) { diff --git a/src/cargo/util/toml_mut/dependency.rs b/src/cargo/util/toml_mut/dependency.rs index 2f39b7ab4e4a..2155e7ac640d 100644 --- a/src/cargo/util/toml_mut/dependency.rs +++ b/src/cargo/util/toml_mut/dependency.rs @@ -882,7 +882,7 @@ impl std::fmt::Display for GitSource { fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { let git_ref = self.git_ref(); - // TODO(-Znext-lockfile-bump): set it to true when stabilizing + // TODO(-Znext-lockfile-bump): set it to true when the default is // lockfile v4, because we want Source ID serialization to be // consistent with lockfile. if let Some(pretty_ref) = git_ref.pretty_ref(false) {