Skip to content

Commit

Permalink
Some formatting update.
Browse files Browse the repository at this point in the history
  • Loading branch information
MathieuDutSik committed Jan 22, 2025
1 parent a16e6d8 commit 9973103
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion linera-chain/src/chain.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ use linera_execution::{
ServiceRuntimeEndpoint, TransactionTracker,
};
use linera_views::{
bucket_queue_view::BucketQueueView,
context::Context,

Check warning on line 33 in linera-chain/src/chain.rs

View workflow job for this annotation

GitHub Actions / lint-cargo-fmt

Diff in /home/runner/work/linera-protocol/linera-protocol/linera-chain/src/chain.rs
log_view::LogView,
map_view::MapView,
Expand Down Expand Up @@ -223,7 +224,8 @@ where
/// Mailboxes used to receive messages indexed by their origin.
pub inboxes: ReentrantCollectionView<C, Origin, InboxStateView<C>>,
/// A queue of unskippable bundles, with the timestamp when we added them to the inbox.
pub unskippable_bundles: BucketQueueView<C, TimestampedBundleInInbox, TIMESTAMPBUNDLE_BUCKET_SIZE>,
pub unskippable_bundles:
BucketQueueView<C, TimestampedBundleInInbox, TIMESTAMPBUNDLE_BUCKET_SIZE>,
/// Unskippable bundles that have been removed but are still in the queue.
pub removed_unskippable_bundles: SetView<C, BundleInInbox>,
/// Mailboxes used to send messages, indexed by their target.
Expand Down
2 changes: 1 addition & 1 deletion linera-chain/src/outbox.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ use linera_base::data_types::{ArithmeticError, BlockHeight};
#[cfg(with_testing)]
use linera_views::context::{create_test_memory_context, MemoryContext};
use linera_views::{
context::Context,
bucket_queue_view::BucketQueueView,
context::Context,
register_view::RegisterView,
views::{ClonableView, View, ViewError},
};
Expand Down

0 comments on commit 9973103

Please sign in to comment.