Let RequirementSource::Path.editable be bool, not Option<bool> (#3693)

Small refactoring of the internal representation. This does not change
`tool.uv.sources`.
This commit is contained in:
konsti
2024-05-21 16:34:43 +02:00
committed by GitHub
parent f396c6c33e
commit 95af1db0bb
6 changed files with 12 additions and 13 deletions
+1 -1
View File
@@ -89,7 +89,7 @@ impl Urls {
parsed_url: ParsedUrl::Path(ParsedPathUrl {
url: url.to_url(),
path: path.clone(),
editable: (*editable).unwrap_or_default(),
editable: *editable,
}),
verbatim: url.clone(),
};