Skip to content

Commit

Permalink
Fix function comments errors (#3226)
Browse files Browse the repository at this point in the history
Fix typos
  • Loading branch information
offensif authored Feb 2, 2025
1 parent 37cf6c0 commit d1919f2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion linera-execution/src/runtime.rs
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@ impl<UserInstance> SyncRuntimeInternal<UserInstance> {
.expect("Call stack is unexpectedly empty")
}

/// Returns a mutable refernce to the [`ApplicationStatus`] of the current application.
/// Returns a mutable reference to the [`ApplicationStatus`] of the current application.
///
/// The current application is the last to be pushed to the `call_stack`.
///
Expand Down
2 changes: 1 addition & 1 deletion linera-indexer/plugins/src/template.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ impl Template<C> {

// Private functions are directly applied to the `Template` struct.
async fn helper1(&self, ...) -> Result<.., IndexerError> {
// handle some thinfs on the `Template` struct
// handle some things on the `Template` struct
}

// Public functions are the ones accessible through the GraphQL server.
Expand Down
2 changes: 1 addition & 1 deletion linera-rpc/src/simple/transport.rs
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ where
}
}

/// Creates a [`UpdServer`] bound to the provided `address`, handling messages using the
/// Creates a [`UdpServer`] bound to the provided `address`, handling messages using the
/// provided `handler`.
async fn bind(address: impl ToSocketAddrs, handler: State) -> Result<Self, std::io::Error> {
let socket = UdpSocket::bind(address).await?;
Expand Down

0 comments on commit d1919f2

Please sign in to comment.