]> git.bitcoin.ninja Git - rust-lightning/commit
Minor refactor for sort / add, and some nits.
authorElias Rohrer <ero@tnull.de>
Thu, 24 Mar 2022 15:12:44 +0000 (09:12 -0600)
committerElias Rohrer <ero@tnull.de>
Thu, 24 Mar 2022 15:12:44 +0000 (09:12 -0600)
commitff7ec0c645c767bc94b692300b1f7611c79c86dd
tree6040d34aa1921102fea36b46009062f8da152529
parentb11dcf9ba8c75b50c5915402ad8c29b972b0f8a0
Minor refactor for sort / add, and some nits.

- `sort_by_key` to `sort_unstable_by_key`
- `checked_add() .. max_value()` to `saturating_add()`
- Some typos and nits
lightning/src/routing/router.rs