mirror of https://github.com/astral-sh/uv
Document `Padded`
This commit is contained in:
parent
17901f6438
commit
36d79dbcc2
|
|
@ -535,6 +535,8 @@ impl PackageRange<'_> {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// Inserts the given padding on the left and right sides of the content if
|
||||||
|
/// the content does not start and end with whitespace respectively.
|
||||||
#[derive(Debug)]
|
#[derive(Debug)]
|
||||||
struct Padded<'a, T: std::fmt::Display> {
|
struct Padded<'a, T: std::fmt::Display> {
|
||||||
left: &'a str,
|
left: &'a str,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue