Skip to content

Commit

Permalink
chore: docs
Browse files Browse the repository at this point in the history
  • Loading branch information
zmalatrax committed Oct 25, 2024
1 parent 6f7e749 commit d57210f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion crates/cairo-lang-starknet-classes/src/contract_class.rs
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ pub struct ContractEntryPoint {
/// felt252s.
///
/// Returns (sierra_version_id, compiler_version_id).
/// See [crate::compiler_version].
/// See [cairo_lang_sierra_to_casm::compiler_version].
pub fn version_id_from_serialized_sierra_program(
sierra_program: &[BigUintAsHex],
) -> Result<(VersionId, VersionId), Felt252SerdeError> {
Expand Down
4 changes: 2 additions & 2 deletions crates/cairo-lang-starknet-classes/src/felt252_serde.rs
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ pub fn sierra_to_felt252s(
///
/// Returns (sierra_version_id, compiler_version_id, remaining),
/// where 'remaining' are all the felts other than the ones dedicated to the version, unprocessed.
/// See [crate::compiler_version].
/// See [cairo_lang_sierra_to_casm::compiler_version].
pub fn version_id_from_felt252s(
sierra_program: &[BigUintAsHex],
) -> Result<(VersionId, VersionId, &[BigUintAsHex]), Felt252SerdeError> {
Expand All @@ -97,7 +97,7 @@ pub fn version_id_from_felt252s(
/// Deserializes a Sierra program represented as a slice of felt252s.
///
/// Returns (sierra_version_id, compiler_version_id, program).
/// See [crate::compiler_version].
/// See [cairo_lang_sierra_to_casm::compiler_version].
pub fn sierra_from_felt252s(
sierra_program: &[BigUintAsHex],
) -> Result<(VersionId, VersionId, Program), Felt252SerdeError> {
Expand Down

0 comments on commit d57210f

Please sign in to comment.