diff options
| author | Laurenz <laurmaedje@gmail.com> | 2023-04-19 17:51:33 +0200 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2023-04-19 17:51:33 +0200 |
| commit | f08ae95b9d8be5165f9c8cac4c755d0510c3a18a (patch) | |
| tree | cc4bdf617618535d128e1a5611f270c8a99df31f /library | |
| parent | 5a6330dbfce9ed30c77502b66db843fd72b2d267 (diff) | |
Fix argument sinks
Fixes #886.
Diffstat (limited to 'library')
| -rw-r--r-- | library/src/compute/calc.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/src/compute/calc.rs b/library/src/compute/calc.rs index 62c529de..3875e3c3 100644 --- a/library/src/compute/calc.rs +++ b/library/src/compute/calc.rs @@ -541,7 +541,7 @@ pub fn gcd( /// The second integer. b: i64, ) -> Value { - Value::Int(calculate_gcd(a, b).into()) + Value::Int(calculate_gcd(a, b)) } /// Calculates the greatest common divisor of two integers |
