We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 50a67bc commit 0c320f7Copy full SHA for 0c320f7
framework_lib/src/commandline/uefi.rs
@@ -1,4 +1,4 @@
1
-use alloc::string::String;
+use alloc::string::{String, ToString};
2
use alloc::vec;
3
use alloc::vec::Vec;
4
@@ -533,7 +533,7 @@ pub fn parse(args: &[String]) -> Cli {
533
Some((hex_magic, sn))
534
} else if magic.to_uppercase() == "GPU" {
535
Some((SetGpuSerialMagic::WriteGPUConfig as u8, sn))
536
- } else if magic.to_uppercase() = "SSD" {
+ } else if magic.to_uppercase() == "SSD" {
537
Some((SetGpuSerialMagic::WriteSSDConfig as u8, sn))
538
} else {
539
println!(
0 commit comments