@@ -89,7 +89,7 @@ pub struct CairoHintProcessor<'a> {
8989 pub runner : Option < & ' a SierraCasmRunner > ,
9090 /// The user arguments for the run.
9191 ///
92- /// We have a vector of the arguments per parameter, as a parameter type may be composed of
92+ /// We have a vector of arguments per parameter, as a parameter type may be composed of
9393 /// several user args.
9494 pub user_args : Vec < Vec < Arg > > ,
9595 /// A mapping from a string that represents a hint to the hint object.
@@ -101,7 +101,7 @@ pub struct CairoHintProcessor<'a> {
101101 /// Resources used during syscalls - does not include resources used during the current VM run.
102102 /// At the end of the run - adding both would result in the actual expected resource usage.
103103 pub syscalls_used_resources : StarknetExecutionResources ,
104- /// Avoid allocating memory segments so finalization of segment arena may not occur.
104+ /// Avoid allocating memory segments so finalization of the segment arena may not occur.
105105 pub no_temporary_segments : bool ,
106106 /// A set of markers created by the run.
107107 pub markers : Vec < Vec < Felt252 > > ,
@@ -1809,7 +1809,7 @@ pub fn random_ec_point<R: rand::RngCore>(
18091809 // Keep sampling a random field element `X` until `X^3 + X + beta` is a quadratic
18101810 // residue.
18111811 let ( random_x, random_y) = loop {
1812- // Randomizing 31 bytes to make sure is in range.
1812+ // Randomizing 31 bytes to make sure it is in range.
18131813 // TODO(orizi): Use `Felt252` random implementation when exists.
18141814 let x_bytes: [ u8 ; 31 ] = rng. random ( ) ;
18151815 let random_x = Felt252 :: from_bytes_be_slice ( & x_bytes) ;
@@ -2458,7 +2458,7 @@ impl FormattedItem {
24582458}
24592459
24602460/// Formats a string or a short string / `felt252`. Returns the formatted string and a boolean
2461- /// indicating whether it's a string. If can't format the item , returns None.
2461+ /// indicating whether it's a string. If item cannot be formatted , returns None.
24622462pub fn format_next_item < T > ( values : & mut T ) -> Option < FormattedItem >
24632463where
24642464 T : Iterator < Item = Felt252 > + Clone ,
0 commit comments