From 6e03b0116ac65ae59a58dd02dec680b32c3a6620 Mon Sep 17 00:00:00 2001 From: Dror Levin Date: Mon, 23 Mar 2020 06:09:16 +0200 Subject: [PATCH] Fix typo: DDOM->DOOM (#383) --- src/steps/emacs.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/steps/emacs.rs b/src/steps/emacs.rs index 6757b4f9..60a25071 100644 --- a/src/steps/emacs.rs +++ b/src/steps/emacs.rs @@ -9,9 +9,9 @@ use std::path::{Path, PathBuf}; const EMACS_UPGRADE: &str = include_str!("emacs.el"); #[cfg(windows)] -const DDOM_PATH: &str = "bin/doom.cmd"; +const DOOM_PATH: &str = "bin/doom.cmd"; #[cfg(unix)] -const DDOM_PATH: &str = "bin/doom"; +const DOOM_PATH: &str = "bin/doom"; pub struct Emacs { directory: Option, @@ -47,7 +47,7 @@ impl Emacs { pub fn new(base_dirs: &BaseDirs) -> Self { let directory = Emacs::directory_path(base_dirs); - let doom = directory.as_ref().and_then(|d| d.join(DDOM_PATH).if_exists()); + let doom = directory.as_ref().and_then(|d| d.join(DOOM_PATH).if_exists()); Self { directory, doom } }