Skip to content

Commit

Permalink
Clippy / fix juniper_support misspell
Browse files Browse the repository at this point in the history
  • Loading branch information
dnsl48 committed Aug 27, 2023
1 parent d36d4b7 commit 4bd0265
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/fraction/juniper_support.rs
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ mod tests {
]
}

#[cfg(features = "with-bigint")]
#[cfg(feature = "with-bigint")]
fn get_big_tests() -> Vec<(&'static str, BigFraction)> {

Check failure on line 175 in src/fraction/juniper_support.rs

View workflow job for this annotation

GitHub Actions / Test

cannot find type `BigFraction` in this scope

Check failure on line 175 in src/fraction/juniper_support.rs

View workflow job for this annotation

GitHub Actions / Test

cannot find type `BigFraction` in this scope
vec![
("NaN", BigFraction::nan()),

Check failure on line 177 in src/fraction/juniper_support.rs

View workflow job for this annotation

GitHub Actions / Test

failed to resolve: use of undeclared type `BigFraction`

Check failure on line 177 in src/fraction/juniper_support.rs

View workflow job for this annotation

GitHub Actions / Test

failed to resolve: use of undeclared type `BigFraction`
Expand Down Expand Up @@ -206,7 +206,7 @@ mod tests {
assert_eq!(s, str_value.unwrap());
}

#[cfg(features = "with-bigint")]
#[cfg(feature = "with-bigint")]
{
for (s, v) in get_big_tests() {
let value = <BigFraction as ToInputValue>::to_input_value(&v);
Expand All @@ -225,7 +225,7 @@ mod tests {
assert_eq!(value, Some(v));
}

#[cfg(features = "with-bigint")]
#[cfg(feature = "with-bigint")]
{
for (s, v) in get_big_tests() {
let value =
Expand Down

0 comments on commit 4bd0265

Please sign in to comment.