]> git.lizzy.rs Git - rust.git/commit
Simplify calculation of missing functions
authorIgor Matuszewski <Xanewok@gmail.com>
Thu, 7 Mar 2019 12:36:35 +0000 (13:36 +0100)
committerIgor Matuszewski <Xanewok@gmail.com>
Sat, 16 Mar 2019 21:41:13 +0000 (22:41 +0100)
commit406343492c9f1741fcc3eafbb13efa42691fe0db
tree35c39ba637ff82c1da154fe3c1ab2d3edafddc1b
parent713975b1c1584bb141dfca84818bf5a7ca91a8ee
Simplify calculation of missing functions

Asymptotically computing a set difference is faster but in the average
case we won't have more than ~10 functions. Also prefer not using hash
sets as these may yield nondeterministic results.
crates/ra_assists/src/add_missing_impl_members.rs