commit | eecd803750a1b0e81a6a76cb29dcd677b7b40271 | [log] [tgz] |
---|---|---|
author | Kazu Hirata <kazu@google.com> | Sat Dec 16 15:02:17 2023 -0800 |
committer | Copybara-Service <copybara-worker@google.com> | Sat Dec 16 15:06:05 2023 -0800 |
tree | 6d1120bb9a561cfd782a474bffd54cae123d81d0 | |
parent | c62b7615c4098df0eb7c23562919ca5e32da4a35 [diff] |
Use StringRef::{starts,ends}_with (NFC) This patch replaces uses of StringRef::{starts,ends}with with StringRef::{starts,ends}_with for consistency with std::{string,string_view}::{starts,ends}_with in C++20. I'm planning to deprecate and eventually remove StringRef::{starts,ends}with. GitOrigin-RevId: b8f89b84bc26c46a5a10d01eb5414fbde3c8700a