fix: prefix unused binding name with underscore

This commit is contained in:
hehelego 2023-09-29 12:00:35 -05:00
parent 9d834fb3ca
commit c28e5b72d4
No known key found for this signature in database
GPG key ID: 7845E5A5F4EF6340

View file

@ -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]