all: address clippy lints
This commit is contained in:
parent
1e24e6ca1a
commit
84f7f88399
3 changed files with 13 additions and 9 deletions
|
|
@ -1473,10 +1473,10 @@ fn create_connector_display_data(
|
|||
for descriptor in edid.base_block.descriptors.iter().flatten() {
|
||||
match descriptor {
|
||||
Descriptor::DisplayProductSerialNumber(s) => {
|
||||
serial_number = s.clone();
|
||||
serial_number.clone_from(s);
|
||||
}
|
||||
Descriptor::DisplayProductName(s) => {
|
||||
name = s.clone();
|
||||
name.clone_from(s);
|
||||
}
|
||||
_ => {}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue