mirror of
https://github.com/sharkdp/bat.git
synced 2025-11-20 08:46:07 +00:00
Fix clippy::needless_lifetimes warnings
This commit is contained in:
@@ -25,7 +25,7 @@ pub struct Controller<'a> {
|
||||
preprocessor: Option<LessOpenPreprocessor>,
|
||||
}
|
||||
|
||||
impl<'b> Controller<'b> {
|
||||
impl Controller<'_> {
|
||||
pub fn new<'a>(config: &'a Config, assets: &'a HighlightingAssets) -> Controller<'a> {
|
||||
Controller {
|
||||
config,
|
||||
|
||||
Reference in New Issue
Block a user