mirror of
https://github.com/astral-sh/uv.git
synced 2025-11-01 20:31:12 +00:00
Fix typos (#3323)
Split out from https://github.com/astral-sh/uv/pull/3263
This commit is contained in:
parent
9ae116f82b
commit
80ce32b3e9
2 changed files with 2 additions and 2 deletions
|
|
@ -477,7 +477,7 @@ impl SourceDist {
|
|||
}
|
||||
}
|
||||
|
||||
/// Returns the path to the source distribution, if if it's a local distribution.
|
||||
/// Returns the path to the source distribution, if it's a local distribution.
|
||||
pub fn as_path(&self) -> Option<&Path> {
|
||||
match self {
|
||||
Self::Path(dist) => Some(&dist.path),
|
||||
|
|
|
|||
|
|
@ -1556,7 +1556,7 @@ async fn read_pkg_info(
|
|||
Ok(metadata)
|
||||
}
|
||||
|
||||
/// Read the [`Metadata23`] from a source distribution's `pyproject.tom` file, if it defines static
|
||||
/// Read the [`Metadata23`] from a source distribution's `pyproject.toml` file, if it defines static
|
||||
/// metadata consistent with PEP 621.
|
||||
async fn read_pyproject_toml(
|
||||
source_tree: &Path,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue