Adjust bluetooth matcher comments (#77409)

pull/77417/head
J. Nick Koston 2022-08-27 08:23:47 -05:00 committed by GitHub
parent fcba6def49
commit a6770f8b03
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -159,7 +159,7 @@ class BluetoothMatcherIndexBase(Generic[_T]):
likely to match. This allows us to only check the service infos
against each bucket to see if we should match against the data.
This is optimized for cases were no service infos will be matched in
This is optimized for cases when no service infos will be matched in
any bucket and we can quickly reject the service info as not matching.
"""
@ -349,7 +349,7 @@ def ble_device_matches(
"""Check if a ble device and advertisement_data matches the matcher."""
device = service_info.device
# Do don't check address here since all callers already
# Don't check address here since all callers already
# check the address and we don't want to double check
# since it would result in an unreachable reject case.