Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion deps/parse-hyperlinks/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ use nom::IResult;
/// ```
/// use nom::bytes::complete::tag;
/// use nom::sequence::delimited;
/// use parse_hyperlinks::take_until_unbalanced;
/// use cairo_take_until_unbalanced::take_until_unbalanced;
///
/// let mut parser = delimited(tag("<"), take_until_unbalanced('<', '>'), tag(">"));
/// assert_eq!(parser("<<inside>inside>abc"), Ok(("abc", "<inside>inside")));
Expand Down
4 changes: 2 additions & 2 deletions felt/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -63,10 +63,10 @@ pub(crate) trait FeltOps {
/// # use num_bigint::BigInt;
/// # use num_traits::Bounded;
/// let positive = Felt252::new(5);
/// assert_eq!(positive.to_bigint(), Into::<num_bigint::BigInt>::into(5));
/// assert_eq!(positive.to_signed_felt(), Into::<num_bigint::BigInt>::into(5));
///
/// let negative = Felt252::max_value();
/// assert_eq!(negative.to_bigint(), Into::<num_bigint::BigInt>::into(-1));
/// assert_eq!(negative.to_signed_felt(), Into::<num_bigint::BigInt>::into(-1));
/// ```
fn to_signed_felt(&self) -> BigInt;

Expand Down