Skip to content

Commit b144d9f

Browse files
committed
partitions: document get_sorted()
Signed-off-by: Daniel Maslowski <[email protected]>
1 parent 1f5721b commit b144d9f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/part/partitions.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,7 @@ impl Partitions {
136136
*self = parts;
137137
}
138138

139+
/// Get a sorted copy of all partitions.
139140
pub fn get_sorted(&self) -> Self {
140141
match self {
141142
Partitions::Gen2(parts) => {

0 commit comments

Comments
 (0)