uv/crates/uv-requirements-txt/src
John Mumm 410dc33574
Make `DisplaySafeUrlRef` Copy and other minor PR follow-ups (#13683)
This PR implements a few review follow-ups from #13560. In particular,
it
* Makes `DisplaySafeUrlRef` implement `Copy` so that it can be passed by
value.
* Updates `to_string_with_credentials` methods with
`displayable_with_credentials`, returning an `impl Display` instead of
`String` for greater flexibility.
* Updates the `DisplaySafeUrl` and `DisplaySafeUrlRef` `Debug`
implementations to match the underlying `Url` `Debug` implementation
(with the exception that credentials are masked).
* Replaces an unnecessary `DisplaySafeUrl::from(Url::from_file_path`
with `DisplaySafeUrl::from_file_path`
2025-05-28 06:36:18 -04:00
..
snapshots Make `DisplaySafeUrlRef` Copy and other minor PR follow-ups (#13683) 2025-05-28 06:36:18 -04:00
lib.rs Make `DisplaySafeUrlRef` Copy and other minor PR follow-ups (#13683) 2025-05-28 06:36:18 -04:00
requirement.rs Apply first set of Rustfmt edition 2024 changes (#13478) 2025-05-16 20:19:02 -04:00
shquote.rs Skip unquote allocation for non-quoted strings (#11813) 2025-02-26 21:56:31 +00:00