revert: purge client auth from main branch. it needs to reconsider...

This commit is contained in:
Jun Kurihara 2022-10-13 18:11:21 +09:00
commit ddf4afbf4b
No known key found for this signature in database
GPG key ID: 48ADFD173ED22B03
4 changed files with 8 additions and 8 deletions

View file

@ -20,7 +20,7 @@ impl PathNameBytesExp {
where
I: std::slice::SliceIndex<[u8]>,
{
(&self.0).get(index)
self.0.get(index)
}
pub fn starts_with(&self, needle: &Self) -> bool {
self.0.starts_with(&needle.0)