This commit is contained in:
mo8it
2024-04-17 16:11:44 +02:00
parent 7f433ae28f
commit 7005d8a400
4 changed files with 7 additions and 7 deletions
+2 -2
View File
@@ -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"),
+2 -2
View File
@@ -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"),