diff options
author | chickenleaf <lashwinib@gmail.com> | 2024-10-18 19:27:13 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-18 13:57:13 +0000 |
commit | 1ae90dcd95125133a266781828b0bfc47a681bbf (patch) | |
tree | 9082770c56e5f8902f1e463e22603676a5d0f4f4 /python/servo/gstreamer.py | |
parent | af6154cf630bd498f8b5afbd8a321eb4a45463b6 (diff) | |
download | servo-1ae90dcd95125133a266781828b0bfc47a681bbf.tar.gz servo-1ae90dcd95125133a266781828b0bfc47a681bbf.zip |
clippy: Fix a variety of clippy warnings in `fonts`, `layout_2020` and the DOM code (#33894)
* fixed some clippy warnings
Signed-off-by: L Ashwin B <lashwinib@gmail.com>
* Delete extra file
Signed-off-by: chickenleaf <lashwinib@gmail.com>
* preserved newline in compositionevent.rs
Co-authored-by: Martin Robinson <mrobinson@igalia.com>
Signed-off-by: chickenleaf <lashwinib@gmail.com>
* removed the newline in PrototypeList
Signed-off-by: L Ashwin B <lashwinib@gmail.com>
* removed the trailing whitespace
Signed-off-by: L Ashwin B <lashwinib@gmail.com>
---------
Signed-off-by: L Ashwin B <lashwinib@gmail.com>
Signed-off-by: chickenleaf <lashwinib@gmail.com>
Co-authored-by: Martin Robinson <mrobinson@igalia.com>
Diffstat (limited to 'python/servo/gstreamer.py')
-rw-r--r-- | python/servo/gstreamer.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/servo/gstreamer.py b/python/servo/gstreamer.py index 72b80edbf4a..430b5f817ff 100644 --- a/python/servo/gstreamer.py +++ b/python/servo/gstreamer.py @@ -182,7 +182,7 @@ def write_plugin_list(target): plugins = windows_plugins() print('''/* This is a generated file. Do not modify. */ -pub(crate) static GSTREAMER_PLUGINS: &[&'static str] = &[ +pub(crate) static GSTREAMER_PLUGINS: &[&str] = &[ %s ]; ''' % ',\n'.join(map(lambda x: '"' + x + '"', plugins))) |