From b872142ab1d6ee2c598b9f36a366b617e57f9fe3 Mon Sep 17 00:00:00 2001 From: Sebastian Hugentobler Date: Sat, 16 Nov 2024 14:11:23 +0100 Subject: [PATCH] typo in docstring & new rust --- flake.nix | 2 +- src/state.rs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/flake.nix b/flake.nix index 9f77833..a454844 100644 --- a/flake.nix +++ b/flake.nix @@ -20,7 +20,7 @@ with fenix.packages.${system}; fromToolchainFile { file = ./rust-toolchain.toml; - sha256 = "sha256-VZZnlyP69+Y3crrLHQyJirqlHrTtGTsyiSnZB8jEvVo="; + sha256 = "sha256-yMuSb5eQPO/bHv+Bcf/US8LVMbf/G/0MSfiPwBhiPpk="; }; in diff --git a/src/state.rs b/src/state.rs index ad955ba..7119b69 100644 --- a/src/state.rs +++ b/src/state.rs @@ -52,9 +52,9 @@ impl State { #[derive(Clone, Copy)] pub enum StateChange { - /// Switch to the paatternon the left of the active one. + /// Switch to the pattern on the left of the active one. PatternLeft, - /// Switch to the paatternon the right of the active one. + /// Switch to the pattern on the right of the active one. PatternRight, /// Publish a new active pattern. Pattern(Matrix),