mirror of
https://github.com/sharkdp/bat.git
synced 2026-10-30 10:06:12 +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 parent
e3d8b56c8f
commit
ec6e9c29ac
8 files changed
+9
-13
No files matched your search
+2
-7
@@ -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