Skip to content

Commit

Permalink
Fix spelling issues
Browse files Browse the repository at this point in the history
  • Loading branch information
MikailBag committed May 7, 2020
1 parent 44b3e48 commit 5c4af08
Show file tree
Hide file tree
Showing 9 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion man/src/problems/polygon.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
- Download generated archive
- Extract it to some location, referred as `$POLYGON_PKG`

Note: other package types ('Windows' and 'Linux', availible for 'Full' packages)
Note: other package types ('Windows' and 'Linux', available for 'Full' packages)
can be used for import too. However, they consume more space, and Full package are generated
slower, so Standard packages are recommended

Expand Down
2 changes: 1 addition & 1 deletion src/configure-toolchains/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ fn make_resolvers(opt: &Options) -> anyhow::Result<Vec<Box<dyn Resolver>>> {
out.sort_unstable_by_key(|resolver| {
opt.strategies
.iter()
.position(|strat| strat == resolver.strategy_name())
.position(|strategy| strategy == resolver.strategy_name())
.expect("disallowed resolvers were filtered out");
})
}
Expand Down
2 changes: 1 addition & 1 deletion src/deploy/bin/configure.rs
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ struct Opt {
/// Docker build additional options
#[structopt(long)]
docker_build_opt: Vec<String>,
/// Build apiserver API documentaion. Requires npx
/// Build apiserver API documentation. Requires npx
#[structopt(long = "enable-api-doc")]
apidoc: bool,
/// Name or path to Docker or other tool which can run containers (e.g. Podman)
Expand Down
4 changes: 2 additions & 2 deletions src/deploy/src/deb.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ use crate::{print_section, Params};
use std::process::Command;
use util::cmd::CommandExt;

pub fn create(params: &Params, runner: &util::cmd::Runner, addional_opts: &[String]) {
pub fn create(params: &Params, runner: &util::cmd::Runner, additional_opts: &[String]) {
print_section("Creating package");
let mut cmd = Command::new("bash");

Expand All @@ -20,6 +20,6 @@ pub fn create(params: &Params, runner: &util::cmd::Runner, addional_opts: &[Stri

let out_path = params.artifacts.join("pkg/jjs.deb");
cmd.arg("--out").arg(out_path);
cmd.args(addional_opts);
cmd.args(additional_opts);
cmd.run_on(runner);
}
2 changes: 1 addition & 1 deletion src/invoker-api/src/valuer_proto.rs
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ pub struct SubtaskId(pub std::num::NonZeroU32);

impl SubtaskId {
pub fn make(n: u32) -> SubtaskId {
SubtaskId(std::num::NonZeroU32::new(n).expect("SubtaskId cannot be maked from 0"))
SubtaskId(std::num::NonZeroU32::new(n).expect("SubtaskId cannot be made from 0"))
}
}

Expand Down
2 changes: 1 addition & 1 deletion src/minion/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ pub trait Dominion: Debug + std::any::Any + 'static {
/// Probably, subsequent `spawn` requests will fail.
fn kill(&self) -> Result<()>;

/// Returns information about resourse usage by total dominion
/// Returns information about resource usage by total dominion
fn resource_usage(&self) -> Result<ResourceUsageData>;
}

Expand Down
4 changes: 2 additions & 2 deletions src/setup/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -137,8 +137,8 @@ async fn process_toolchains(profile: &Profile, action: Subcommand) -> anyhow::Re
custom_argv.push(std::ffi::OsStr::new(arg));
}
let mut strategies = Vec::new();
for strat in &tcs_profile.strategies {
strategies.push(strat.as_str());
for strategy in &tcs_profile.strategies {
strategies.push(strategy.as_str());
}
let filter = |toolchain: &str| {
if tcs_profile
Expand Down
4 changes: 2 additions & 2 deletions src/setup/src/toolchains.rs
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,8 @@ impl<'a> crate::Component for Toolchains<'a> {
for tc in &self.state.extra {
cmd.arg("--toolchains").arg(tc);
}
for &strat in self.cx.strategies {
cmd.arg("--strategies").arg(strat);
for &strategy in self.cx.strategies {
cmd.arg("--strategies").arg(strategy);
}
for &extra_arg in self.cx.custom_argv {
cmd.arg(extra_arg);
Expand Down
2 changes: 1 addition & 1 deletion src/svaluer/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ impl<'a> SimpleValuer<'a> {

// do we have running tests?
if self.running_tests != 0 {
debug!("Step done: waiting for running tests complition");
debug!("Step done: waiting for running tests completion");
return Ok(true);
}
if self.running_fibers != 0 {
Expand Down

0 comments on commit 5c4af08

Please sign in to comment.