mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
doc(resources): Add documentation to undocumented embedder_traits::resources::Resource
variants (#33885)
* Document Resource variants and update blocklist url Signed-off-by: DK Liao <dklassic@gmail.com> * Update components/shared/embedder/resources.rs Co-authored-by: Josh Matthews <josh@joshmatthews.net> Signed-off-by: DK Liao <dklassic@gmail.com> * Update components/shared/embedder/resources.rs Co-authored-by: Josh Matthews <josh@joshmatthews.net> Signed-off-by: DK Liao <dklassic@gmail.com> * Update components/shared/embedder/resources.rs Co-authored-by: Josh Matthews <josh@joshmatthews.net> Signed-off-by: DK Liao <dklassic@gmail.com> * Update format and reduce length Signed-off-by: DK Liao <dklassic@gmail.com> * Slightly changes the line break position Signed-off-by: DK Liao <dklassic@gmail.com> --------- Signed-off-by: DK Liao <dklassic@gmail.com> Co-authored-by: Josh Matthews <josh@joshmatthews.net>
This commit is contained in:
parent
f826698d6e
commit
41fd39a128
2 changed files with 37 additions and 1 deletions
|
@ -63,7 +63,7 @@ impl BluetoothBlocklist {
|
|||
}
|
||||
}
|
||||
|
||||
// https://webbluetoothcg.github.io/web-bluetooth/#parsing-the-blocklist
|
||||
// https://webbluetoothcg.github.io/web-bluetooth/#the-blocklist
|
||||
fn parse_blocklist() -> Option<HashMap<String, Blocklist>> {
|
||||
// Step 1 missing, currently we parse ./resources/gatt_blocklist.txt.
|
||||
let valid_uuid_regex = Regex::new(VALID_UUID_REGEX).unwrap();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue