toolchains: Use language-specific terms in UI (#20985)
Closes #ISSUE Release Notes: - N/A
This commit is contained in:
parent
75c545aa1e
commit
0b373d43dc
6 changed files with 76 additions and 9 deletions
|
@ -31,6 +31,8 @@ pub trait ToolchainLister: Send + Sync {
|
|||
worktree_root: PathBuf,
|
||||
project_env: Option<HashMap<String, String>>,
|
||||
) -> ToolchainList;
|
||||
// Returns a term which we should use in UI to refer to a toolchain.
|
||||
fn term(&self) -> SharedString;
|
||||
}
|
||||
|
||||
#[async_trait(?Send)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue