Skip to content

Commit 0f49a25

Browse files
committed
clippy fix: unnecessary semicolon in rand.rs
Signed-off-by: Konstantin A. Olkhovskiy <[email protected]>
1 parent bb6c839 commit 0f49a25

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/builtins/impls/rand.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ pub fn intn<C: EvaluationContext>(ctx: &mut C, str: String, n: i64) -> Result<i6
3535
let cache_key = ("rand", str, n);
3636
if let Some(v) = ctx.cache_get(&cache_key)? {
3737
return Ok(v);
38-
};
38+
}
3939

4040
let mut rng = ctx.get_rng();
4141
let val = rng.gen_range(0..n);

0 commit comments

Comments
 (0)