1
0
Эх сурвалжийг харах

fix: prefix unused binding name with underscore

hehelego 2 жил өмнө
parent
commit
c28e5b72d4
1 өөрчлөгдсөн 1 нэмэгдсэн , 1 устгасан
  1. 1 1
      src/output/mod.rs

+ 1 - 1
src/output/mod.rs

@@ -63,7 +63,7 @@ impl TerminalWidth {
             terminal_size::terminal_size_using_handle(unsafe {
                 GetStdHandle(STD_OUTPUT_HANDLE) as RawHandle
             })
-            .map(|(w, h)| w.0 as _)
+            .map(|(w, _h)| w.0 as _)
         };
 
         #[rustfmt::skip]