Skip to content

Commit 9717148

Browse files
MozirDmitriyorizi
andauthored
docs: clarify calc_metadata gas solver config (#8977)
Co-authored-by: orizi <[email protected]>
1 parent 87212f4 commit 9717148

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

crates/cairo-lang-sierra-to-casm/src/metadata.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,8 @@ pub fn calc_metadata_ap_change_only(
7979

8080
/// Calculates the metadata for a Sierra program.
8181
///
82-
/// `no_eq_solver` uses a linear-time algorithm for calculating the gas, instead of solving
83-
/// equations.
82+
/// When `config.linear_gas_solver` is true, uses a linear-time algorithm for calculating the gas,
83+
/// instead of solving equations.
8484
pub fn calc_metadata(
8585
program: &Program,
8686
program_info: &ProgramRegistryInfo,

0 commit comments

Comments
 (0)