We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0fbbd1b commit edc3df7Copy full SHA for edc3df7
src/builtins/impls/rand.rs
@@ -35,7 +35,7 @@ pub fn intn<C: EvaluationContext>(ctx: &mut C, str: String, n: i64) -> Result<i6
35
let cache_key = ("rand", str, n);
36
if let Some(v) = ctx.cache_get(&cache_key)? {
37
return Ok(v);
38
- };
+ }
39
40
let mut rng = ctx.get_rng();
41
let val = rng.gen_range(0..n);
0 commit comments