From f2ce84b243e4eae837a97a146fe1d8fcf0e512ca Mon Sep 17 00:00:00 2001 From: Yuya Nishihara Date: Tue, 28 May 2024 14:38:24 +0900 Subject: Fix copy-paste error in scroll-method error message --- niri-config/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/niri-config/src/lib.rs b/niri-config/src/lib.rs index e966031a..9c1375ed 100644 --- a/niri-config/src/lib.rs +++ b/niri-config/src/lib.rs @@ -2280,7 +2280,7 @@ impl FromStr for ScrollMethod { "edge" => Ok(Self::Edge), "on-button-down" => Ok(Self::OnButtonDown), _ => Err(miette!( - r#"invalid scroll method, can be "no-scroll" or "two-finger", "edge", or "on-button-down""# + r#"invalid scroll method, can be "no-scroll", "two-finger", "edge", or "on-button-down""# )), } } -- cgit