mirror of
https://github.com/sharkdp/bat.git
synced 2025-11-20 00:35:53 +00:00
Bump MSRV to 1.62 (#2496)
* Bump MSRV to 1.62 Mainly to be able to derive default enum variants. * CHANGELOG.md: Update
This commit is contained in:
@@ -1,12 +1,7 @@
|
||||
#[derive(Debug, Clone, Copy, PartialEq, Eq)]
|
||||
#[derive(Debug, Default, Clone, Copy, PartialEq, Eq)]
|
||||
pub enum PagingMode {
|
||||
Always,
|
||||
QuitIfOneScreen,
|
||||
#[default]
|
||||
Never,
|
||||
}
|
||||
|
||||
impl Default for PagingMode {
|
||||
fn default() -> Self {
|
||||
PagingMode::Never
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user