Skip to content

Commit d94ce9f

Browse files
committed
Don't mention current ResolveVersion in comment
1 parent c38ca2d commit d94ce9f

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/cargo/core/resolver/resolve.rs

+4-2
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,10 @@ pub struct Resolve {
4646
summaries: HashMap<PackageId, Summary>,
4747
}
4848

49-
/// A version to indicate how a `Cargo.lock` should be serialized. Currently
50-
/// [V3 is the default](ResolveVersion::default) when creating a new lockfile.
49+
/// A version to indicate how a `Cargo.lock` should be serialized.
50+
///
51+
/// When creating a new lockfile, the default version defined in
52+
/// [`ResolveVersion::default`] is used.
5153
/// If an old version of lockfile already exists, it will stay as-is.
5254
///
5355
/// It's theorized that we can add more here over time to track larger changes

0 commit comments

Comments
 (0)