From 4080341977d10abe91808711a3d5c2bc726c10e1 Mon Sep 17 00:00:00 2001 From: Blaž Hrastnik Date: Sun, 23 Jan 2022 16:15:27 +0900 Subject: cargo fmt + clippy lint --- helix-view/src/document.rs | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'helix-view/src/document.rs') diff --git a/helix-view/src/document.rs b/helix-view/src/document.rs index 0b5cfd22..413da7b2 100644 --- a/helix-view/src/document.rs +++ b/helix-view/src/document.rs @@ -594,11 +594,7 @@ impl Document { /// Set the programming language for the file if you know the name (scope) but don't have the /// [`syntax::LanguageConfiguration`] for it. - pub fn set_language2( - &mut self, - scope: &str, - config_loader: Arc, - ) { + pub fn set_language2(&mut self, scope: &str, config_loader: Arc) { let language_config = config_loader.language_config_for_scope(scope); self.set_language(language_config, Some(config_loader)); -- cgit v1.2.3-70-g09d2