Skip to content

Commit

Permalink
Fix errors in messages and comments (#3230)
Browse files Browse the repository at this point in the history
Fix typos.
  • Loading branch information
offensif authored Feb 5, 2025
1 parent 3dd767d commit aa2a305
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion linera-sdk/src/service/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ macro_rules! service {
move |service| service.handle_query(request).blocking_wait(),
);
$crate::serde_json::to_vec(&response)
.expect("Failed to deserialize query response")
.expect("Failed to serialize query response")
}
}

Expand Down
2 changes: 1 addition & 1 deletion linera-storage-service/src/child.rs
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ impl StorageService {
let mut command = self.command().await;
let _child = command.spawn_into()?;
let guard = StorageServiceGuard { _child };
// We iterate until the child is spanned and can be accessed.
// We iterate until the child is spawned and can be accessed.
// We add an additional waiting period to avoid problems.
for i in 1..10 {
let result = storage_service_check_validity(&self.endpoint).await;
Expand Down
4 changes: 2 additions & 2 deletions linera-views/benches/reentrant_collection_view.rs
Original file line number Diff line number Diff line change
Expand Up @@ -203,11 +203,11 @@ async fn create_and_store_populated_reentrant_collection_view(
let context = view.context().clone();
let mut batch = Batch::new();
view.flush(&mut batch)
.expect("Failed to flush popluated `ReentrantCollectionView`'s contents");
.expect("Failed to flush populated `ReentrantCollectionView`'s contents");
context
.write_batch(batch)
.await
.expect("Failed to store popluated `ReentrantCollectionView`'s contents");
.expect("Failed to store populated `ReentrantCollectionView`'s contents");

ReentrantCollectionView::load(context)
.await
Expand Down

0 comments on commit aa2a305

Please sign in to comment.