mirror of
https://github.com/ClementTsang/bottom
synced 2024-11-10 06:34:16 +00:00
other: quick lint fixes for some warnings (#1367)
This commit is contained in:
parent
631f7208e4
commit
74792f0ddf
2 changed files with 2 additions and 1 deletions
|
@ -78,7 +78,7 @@ impl Painter {
|
||||||
|
|
||||||
// Very ugly way to sync the gauge limit across all gauges.
|
// Very ugly way to sync the gauge limit across all gauges.
|
||||||
let hide_parts = columns
|
let hide_parts = columns
|
||||||
.get(0)
|
.first()
|
||||||
.map(|col| {
|
.map(|col| {
|
||||||
if col.width >= 12 {
|
if col.width >= 12 {
|
||||||
LabelLimit::None
|
LabelLimit::None
|
||||||
|
|
|
@ -61,6 +61,7 @@ pub mod data_conversion;
|
||||||
pub mod options;
|
pub mod options;
|
||||||
pub mod widgets;
|
pub mod widgets;
|
||||||
|
|
||||||
|
#[allow(unused_imports)]
|
||||||
pub use utils::logging::*;
|
pub use utils::logging::*;
|
||||||
|
|
||||||
#[cfg(target_family = "windows")]
|
#[cfg(target_family = "windows")]
|
||||||
|
|
Loading…
Reference in a new issue