diff options
| author | mo8it <mo8it@proton.me> | 2024-04-17 16:11:44 +0200 |
|---|---|---|
| committer | mo8it <mo8it@proton.me> | 2024-04-17 16:11:44 +0200 |
| commit | 7005d8a400ce2a61f05bae1f71e144e0a25a9bf0 (patch) | |
| tree | 21ec879c2b31a1f24e09828c3a86f83d27d46d96 /src/dev | |
| parent | 7f433ae28f0e79c62f53b74a14042f916cb13650 (diff) | |
Fix typo
Diffstat (limited to 'src/dev')
| -rw-r--r-- | src/dev/check.rs | 4 | ||||
| -rw-r--r-- | src/dev/update.rs | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/dev/check.rs b/src/dev/check.rs index daf5bdb..9002eaf 100644 --- a/src/dev/check.rs +++ b/src/dev/check.rs @@ -3,7 +3,7 @@ use std::{cmp::Ordering, fs}; use crate::{ info_file::{ExerciseInfo, InfoFile}, - CURRENT_FORMAT_VERSION, DEVELOPING_OFFIFICAL_RUSTLINGS, + CURRENT_FORMAT_VERSION, DEVELOPING_OFFICIAL_RUSTLINGS, }; pub fn bins_start_end_ind(cargo_toml: &str) -> Result<(usize, usize)> { @@ -68,7 +68,7 @@ pub fn check() -> Result<()> { Ordering::Equal => (), } - if DEVELOPING_OFFIFICAL_RUSTLINGS { + if DEVELOPING_OFFICIAL_RUSTLINGS { check_cargo_toml( &info_file.exercises, include_str!("../../dev/Cargo.toml"), diff --git a/src/dev/update.rs b/src/dev/update.rs index 981934d..65dcf76 100644 --- a/src/dev/update.rs +++ b/src/dev/update.rs @@ -4,7 +4,7 @@ use anyhow::{Context, Result}; use crate::{ info_file::{ExerciseInfo, InfoFile}, - DEVELOPING_OFFIFICAL_RUSTLINGS, + DEVELOPING_OFFICIAL_RUSTLINGS, }; use super::check::{append_bins, bins_start_end_ind}; @@ -30,7 +30,7 @@ fn update_cargo_toml( pub fn update() -> Result<()> { let info_file = InfoFile::parse()?; - if DEVELOPING_OFFIFICAL_RUSTLINGS { + if DEVELOPING_OFFICIAL_RUSTLINGS { update_cargo_toml( &info_file.exercises, include_str!("../../dev/Cargo.toml"), |
