Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@dotdash
Copy link
Collaborator

@dotdash dotdash commented Jun 16, 2025

Given two Parsed and one Unparsable line, the current lambda would return Ordering::Equal for both Parsed/Unparsable pairings, but then possibly declare that the Parsed/Parsed values differ (unless their timestamps are equal). This is contradictory and violates the requirements of the sorted_by() method, causing it to eventually panic.

@dotdash dotdash requested review from Cretezy and istudyatuni June 16, 2025 13:20
@DemvSteinbrink DemvSteinbrink force-pushed the fix_bookmarks_ordering branch from 52a28f0 to 2094b3f Compare June 16, 2025 13:22
Given two Parsed and one Unparsable line, the current lambda would return
Ordering::Equal for both Parsed/Unparsable pairings, but then possibly
declare that the Parsed/Parsed values differ (unless their timestamps
are equal). This is contradictory and violates the requirements of the
sorted_by() method, causing it to eventually panic.
@DemvSteinbrink DemvSteinbrink force-pushed the fix_bookmarks_ordering branch from 2094b3f to ba5b741 Compare June 16, 2025 15:35
@dotdash dotdash merged commit 727f634 into Cretezy:main Jun 16, 2025
@DemvSteinbrink DemvSteinbrink deleted the fix_bookmarks_ordering branch June 20, 2025 09:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants