Skip to content

Commit

Permalink
Update crates/ra_project_model/src/cargo_workspace.rs
Browse files Browse the repository at this point in the history
Co-Authored-By: Aleksey Kladov <aleksey.kladov@gmail.com>
  • Loading branch information
o0Ignition0o and matklad committed Mar 31, 2020
1 parent 3e937ee commit 05d42a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/ra_project_model/src/cargo_workspace.rs
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ impl CargoWorkspace {
&self.workspace_root
}

pub fn name_for_package(&self, package: &PackageData) -> String {
pub fn package_flag(&self, package: Package -> String {
if self.is_unique(&*package.name) {
package.name.clone()
} else {
Expand Down

0 comments on commit 05d42a4

Please sign in to comment.