Skip to content

Commit 39cbd96

Browse files
committed
docs(hardlink): rephrase sort doc in From<Vec<ReflectionEntry>>
https://claude.ai/code/session_01QP9wZyoZcGmJsEsA66ZRok
1 parent 15d84e9 commit 39cbd96

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/hardlink/hardlink_list/reflection.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ impl<Size> ReflectionEntry<Size> {
9090
}
9191

9292
impl<Size> From<Vec<ReflectionEntry<Size>>> for Reflection<Size> {
93-
/// Sort the list by `(inode, device)`, then create the reflection.
93+
/// Sort the list by inode numbers and device numbers, then create the reflection.
9494
fn from(list: Vec<ReflectionEntry<Size>>) -> Self {
9595
list.into_sorted_unstable_by_key(|entry| (u64::from(entry.ino), u64::from(entry.dev)))
9696
.pipe(Reflection)

0 commit comments

Comments
 (0)