Skip to content

Commit

Permalink
typos
Browse files Browse the repository at this point in the history
  • Loading branch information
pompon0 committed Mar 27, 2024
1 parent 782ce60 commit 9bb5106
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion node/actors/network/src/rpc/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ pub(crate) struct Client<R: Rpc> {
impl<R: Rpc> Client<R> {
/// Constructs a new client.
// TODO(gprusak): at this point we don't need the clients to be reusable,
// so perhaps they should be constructed by `Servive::add_client` instead?
// so perhaps they should be constructed by `Service::add_client` instead?
pub(crate) fn new(ctx: &ctx::Ctx, rate: limiter::Rate) -> Self {
Client {
limiter: limiter::Limiter::new(ctx, rate),
Expand Down
2 changes: 1 addition & 1 deletion node/libs/concurrency/src/net/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ async fn test_resolve() {
.unwrap()
.unwrap();
// We assume here that loopback host "localhost" is always configured here.
// If that turns out to be problematic we should use a more robust DNS resulution
// If that turns out to be problematic we should use a more robust DNS resolution
// library, so that we can run our own DNS server in tests.
assert!(!addrs.is_empty());
for addr in addrs {
Expand Down

0 comments on commit 9bb5106

Please sign in to comment.