You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Summary:
`count` *always* compares both strings even if the first one is already a match. It's possible to use `std::ranges::find` instead of count
but it's more verbose and unnecessary for such a simple case
Reviewed By: dmm-fb
Differential Revision: D75712432
fbshipit-source-id: 9eae3d9de9ae1c1f4ea8b27b26a22412fb9cfa6a
0 commit comments