Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dag: rename binary_search_by to bsearch_by
Summary: The name is being taken by stdlib: warning: a method with this name may be added to the standard library in the future --> eden/scm/lib/dag/src/spanset.rs:228:14 | 228 | .binary_search_by(|probe| span.low.cmp(&probe.low)) | ^^^^^^^^^^^^^^^^ | = note: `#[warn(unstable_name_collisions)]` on by default = warning: once this method is added to the standard library, the ambiguity may cause an error or change in behavior! = note: for more information, see issue #48919 <rust-lang/rust#48919> = help: call with fully qualified syntax `BinarySearchBy::binary_search_by(...)` to keep using the current method = help: add `#![feature(vecdeque_binary_search)]` to the crate attributes to enable `VecDeque::<T>::binary_search_by` Reviewed By: sfilipco Differential Revision: D26092424 fbshipit-source-id: d2cdf7d73d2f808f038817c9dc9f4c531ff643bd
- Loading branch information