Skip to content

Commit 85b07a2

Browse files
author
Bogdan Mircea
committed
rename Config::parse_and_refine to Config::parse
1 parent 0211265 commit 85b07a2

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

tools/rust_analyzer/bin/discover_rust_project.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ fn project_discovery() -> anyhow::Result<()> {
3434
bazel,
3535
config_group,
3636
specific,
37-
} = Config::parse_and_refine()?;
37+
} = Config::parse()?;
3838

3939
let DiscoverProjectArgs {
4040
default_buildfile,

tools/rust_analyzer/bin/gen_rust_project.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ fn main() -> anyhow::Result<()> {
2323
bazel,
2424
config_group,
2525
specific,
26-
} = Config::parse_and_refine()?;
26+
} = Config::parse()?;
2727

2828
let GenerateProjectArgs { targets } = specific;
2929

tools/rust_analyzer/config.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ where
3333
T: Args,
3434
{
3535
// Parse the configuration flags and supplement with bazel info as needed.
36-
pub fn parse_and_refine() -> anyhow::Result<Self> {
36+
pub fn parse() -> anyhow::Result<Self> {
3737
let ConfigParser {
3838
mut workspace,
3939
mut execution_root,

0 commit comments

Comments
 (0)