-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
use max_by_first_key in compute_shared_points
This is to match Python's max() built-in that returns the first item when multiple items are maximum, whereas the Rust Iterator::max_by_key returns the last. Both would work, but this way we match Python fonttools more closely.
- Loading branch information
1 parent
fea7464
commit e15bd01
Showing
1 changed file
with
35 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters