Skip to content

Commit

Permalink
Fix docs (#524)
Browse files Browse the repository at this point in the history
* fix form verb build.sh

* correct spelling lib.rs

* rephrase lib.rs
  • Loading branch information
nnsW3 authored Jul 15, 2024
1 parent c838ec6 commit 0303f45
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docker/neumann/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Please execute this script in the project root directory.
set -e

# The following line ensure we run from the project root
# The following line ensures we run from the project root
PROJECT_ROOT=`git rev-parse --show-toplevel`
cd $PROJECT_ROOT

Expand Down
2 changes: 1 addition & 1 deletion runtime/neumann/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -877,7 +877,7 @@ impl EnsureProxy<AccountId> for AutomationEnsureProxy {
Some(ProxyType::Any),
)
.map_err(|_| "proxy error: expected `ProxyType::Any`")?;
// We only allow to use it for delay zero proxies, as the call will immediatly be executed
// We only allow to use it for delay zero proxies, as the call will immediately be executed
ensure!(def.delay.is_zero(), "proxy delay is Non-zero`");
Ok(())
}
Expand Down
2 changes: 1 addition & 1 deletion runtime/oak/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -769,7 +769,7 @@ type ScheduleOrigin = EitherOfDiverse<
pallet_collective::EnsureProportionAtLeast<AccountId, CouncilCollective, 1, 2>,
>;

/// Used the compare the privilege of an origin inside the scheduler.
/// Used to compare the privilege of an origin inside the scheduler.
pub struct OriginPrivilegeCmp;

impl PrivilegeCmp<OriginCaller> for OriginPrivilegeCmp {
Expand Down

0 comments on commit 0303f45

Please sign in to comment.