mirror of https://github.com/astral-sh/uv
Fix typo in `_CONDA_ROOT` docs (#16114)
All other references are correct, just slipped through in the actual docs.
This commit is contained in:
parent
1bdb096599
commit
b06f02f13d
|
|
@ -91,8 +91,15 @@ pub fn attribute_env_vars_metadata(_attr: TokenStream, input: TokenStream) -> To
|
||||||
.iter()
|
.iter()
|
||||||
.filter_map(|item| match item {
|
.filter_map(|item| match item {
|
||||||
ImplItem::Const(item) if !is_hidden(&item.attrs) => {
|
ImplItem::Const(item) if !is_hidden(&item.attrs) => {
|
||||||
let name = item.ident.to_string();
|
|
||||||
let doc = get_doc_comment(&item.attrs);
|
let doc = get_doc_comment(&item.attrs);
|
||||||
|
let syn::Expr::Lit(syn::ExprLit {
|
||||||
|
lit: syn::Lit::Str(lit),
|
||||||
|
..
|
||||||
|
}) = &item.expr
|
||||||
|
else {
|
||||||
|
return None;
|
||||||
|
};
|
||||||
|
let name = lit.value();
|
||||||
Some((name, doc))
|
Some((name, doc))
|
||||||
}
|
}
|
||||||
ImplItem::Fn(item) if !is_hidden(&item.attrs) => {
|
ImplItem::Fn(item) if !is_hidden(&item.attrs) => {
|
||||||
|
|
|
||||||
|
|
@ -635,10 +635,6 @@ Used to determine the name of the active Conda environment.
|
||||||
|
|
||||||
Used to detect the path of an active Conda environment.
|
Used to detect the path of an active Conda environment.
|
||||||
|
|
||||||
### `CONDA_ROOT`
|
|
||||||
|
|
||||||
Used to determine the root install path of Conda.
|
|
||||||
|
|
||||||
### `FISH_VERSION`
|
### `FISH_VERSION`
|
||||||
|
|
||||||
Used to detect Fish shell usage.
|
Used to detect Fish shell usage.
|
||||||
|
|
@ -889,3 +885,7 @@ Used to determine which `.zshenv` to use when Zsh is being used.
|
||||||
|
|
||||||
Used to detect Zsh shell usage.
|
Used to detect Zsh shell usage.
|
||||||
|
|
||||||
|
### `_CONDA_ROOT`
|
||||||
|
|
||||||
|
Used to determine the root install path of Conda.
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue