fix: Clippy warnings (#424)

Also schedule works to be run at 8:00 AM everyday.

Signed-off-by: Anand Krishnamoorthi <anakrish@microsoft.com>
This commit is contained in:
Anand Krishnamoorthi
2025-07-02 20:04:27 -05:00
committed by GitHub
parent 444b2970a1
commit 8ee1cf3298
20 changed files with 75 additions and 37 deletions
+4 -4
View File
@@ -403,13 +403,13 @@ impl Number {
pub fn format_bin(&self) -> String {
self.ensure_integer()
.map(|a| format!("{:b}", a))
.map(|a| format!("{a:b}"))
.unwrap_or("".to_string())
}
pub fn format_octal(&self) -> String {
self.ensure_integer()
.map(|a| format!("{:o}", a))
.map(|a| format!("{a:o}"))
.unwrap_or("".to_string())
}
@@ -469,13 +469,13 @@ impl Number {
pub fn format_hex(&self) -> String {
self.ensure_integer()
.map(|a| format!("{:x}", a))
.map(|a| format!("{a:x}"))
.unwrap_or("".to_string())
}
pub fn format_big_hex(&self) -> String {
self.ensure_integer()
.map(|a| format!("{:X}", a))
.map(|a| format!("{a:X}"))
.unwrap_or("".to_string())
}
}