Skip to content
This repository was archived by the owner on Dec 29, 2022. It is now read-only.

Commit ea8551a

Browse files
alexhereticXanewok
andauthored
Clarify comments
Co-Authored-By: Igor Matuszewski <[email protected]>
1 parent 4b747c0 commit ea8551a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

rls/src/actions/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ impl InitActionContext {
292292
(ret @ Some(_), None) => ret,
293293
(Some(_), Some(_)) => None,
294294
_ => {
295-
// fall back on checking the root manifest for edition
295+
// fall back on checking the root manifest for package edition
296296
let manifest_path =
297297
cargo::util::important_paths::find_root_manifest_for_wd(&file).ok()?;
298298
edition_from_manifest(manifest_path)
@@ -435,7 +435,7 @@ impl InitActionContext {
435435
}
436436
}
437437

438-
/// Read edition from the manifest
438+
/// Read package edition from the Cargo manifest
439439
fn edition_from_manifest<P: AsRef<Path>>(manifest_path: P) -> Option<Edition> {
440440
#[derive(Debug, serde::Deserialize)]
441441
struct Manifest {

0 commit comments

Comments
 (0)