Skip to content

Commit

Permalink
Fix spelling errors
Browse files Browse the repository at this point in the history
Used config files:
    1: .codespellrc

-------8<-------
SUMMARY:
atleast       2
debhlper      1
ser           1
socio-economic1
unuseful      1
  • Loading branch information
jelmer committed Nov 15, 2024
1 parent 3fd5a54 commit 1492e2e
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ In the interest of fostering an open and welcoming environment, we as
contributors and maintainers pledge to making participation in our project and
our community a harassment-free experience for everyone, regardless of age, body
size, disability, ethnicity, sex characteristics, gender identity and expression,
level of experience, education, socio-economic status, nationality, personal
level of experience, education, socioeconomic status, nationality, personal
appearance, race, religion, or sexual identity and orientation.

## Our Standards
Expand Down
4 changes: 2 additions & 2 deletions src/common.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1835,7 +1835,7 @@ lazy_static::lazy_static! {
|m| Ok(Some(Box::new(MissingPkgConfig::simple(m.get(1).unwrap().as_str().to_string()))))
),
regex_line_matcher!(
r"\*\*\* Please install (.*) \(atleast version (.*)\) or adjust",
r"\*\*\* Please install (.*) \(at least version (.*)\) or adjust",
|m| Ok(Some(Box::new(MissingPkgConfig{
module: m.get(1).unwrap().as_str().to_string(),
minimum_version: Some(m.get(2).unwrap().as_str().to_string())
Expand Down Expand Up @@ -5121,7 +5121,7 @@ Call Stack (most recent call first):
vec![
"checking for pkg-config... no",
"",
"*** Your version of pkg-config is too old. You need atleast",
"*** Your version of pkg-config is too old. You need at least",
"*** pkg-config 0.9.0 or newer. You can download pkg-config",
"*** from the freedesktop.org software repository at",
"***",
Expand Down
2 changes: 1 addition & 1 deletion src/problems/common.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1382,7 +1382,7 @@ impl Display for UnsupportedDebhelperCompatLevel {
fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result {
write!(
f,
"Request debhlper compat level {} lower than supported {}",
"Request debhelper compat level {} lower than supported {}",
self.requested, self.oldest_supported
)
}
Expand Down
4 changes: 2 additions & 2 deletions src/sbuild.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ use crate::problems::common::{ChrootNotFound, NoSpaceOnDevice, PatchApplicationF
use crate::problems::debian::*;
use crate::{Match, Problem, SingleLineMatch};
use debversion::Version;
use serde::ser::{Serialize, SerializeStruct, Serializer};
use serde::set::{Serialize, SerializeStruct, Serializer};
use std::collections::HashMap;
use std::fs::File;
use std::io::{BufRead, BufReader};
Expand Down Expand Up @@ -687,7 +687,7 @@ pub fn strip_build_tail<'a>(

let mut interesting_lines: &'_ [&'a str] = lines;

// Strip off unuseful tail
// Strip off useless tail
for (i, line) in lines.enumerate_tail_forward(look_back) {
if line.starts_with("Build finished at ") {
interesting_lines = &lines[..i];
Expand Down

0 comments on commit 1492e2e

Please sign in to comment.