Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
notlesh committed Sep 26, 2024
1 parent e6ecd65 commit f6f46b4
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion crates/starknet-os-types/src/casm_contract_class.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ pub type BlockifierCasmClass = blockifier::execution::contract_class::ContractCl

/// A generic contract class that supports conversion to/from the most commonly used
/// contract class types in Starknet and provides utility methods.
///
///
/// Operations are implemented as lazily as possible, i.e. we only convert
/// between different types if strictly necessary.
/// Fields are boxed in an RC for cheap cloning.
Expand Down
2 changes: 1 addition & 1 deletion crates/starknet-os-types/src/deprecated_compiled_class.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ pub type BlockifierDeprecatedClass = blockifier::execution::contract_class::Cont

/// A generic contract class that supports conversion to/from the most commonly used
/// contract class types in Starknet and provides utility methods.
///
///
/// Operations are implemented as lazily as possible, i.e. we only convert
/// between different types if strictly necessary.
/// Fields are boxed in an RC for cheap cloning.
Expand Down
2 changes: 1 addition & 1 deletion crates/starknet-os-types/src/sierra_contract_class.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ pub type StarknetCoreSierraContractClass = starknet_core::types::FlattenedSierra

/// A generic Sierra contract class that supports conversion to/from the most commonly used
/// contract class types in Starknet and provides utility methods.
///
///
/// Operations are implemented as lazily as possible, i.e. we only convert
/// between different types if strictly necessary.
/// Fields are boxed in an Arc for cheap cloning.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ impl Serializable for BinaryNodeFact {
#[allow(clippy::too_long_first_doc_paragraph)]
/// A node in a Patricia-Merkle tree that represents the edge to a subtree that contains data
/// with value != 0.
///
///
/// Represented by three values embedding this information (elaborated below).
/// Note that the bottom_node cannot be an edge node itself (otherwise, they would have both been
/// fused to a bigger edge node).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ where

/// Given a node generated by build_update_tree(), returns which update case it belongs to,
/// and both children. This is a utility to make cairo hints shorter.
///
///
/// Cases: both, if both children are to be updated, and left or right, if only one child is to be
/// updated.
pub fn decode_node<LF>(node: &TreeUpdate<LF>) -> Result<DecodedNode<LF>, TreeError>
Expand Down
2 changes: 1 addition & 1 deletion crates/starknet-os/src/storage/composite_storage.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
use crate::storage::storage::{Storage, StorageError};

/// A composite storage is a storage object made of one main and one fallback storages.
///
///
/// It will first attempt to look up the main storage then try the fallback one if it could
/// not find any value in the main storage.
pub struct CompositeStorage<M, F>
Expand Down

0 comments on commit f6f46b4

Please sign in to comment.