Fix formatting.

This commit is contained in:
Stephen Chung
2021-12-27 11:43:11 +08:00
parent a07faf7dd9
commit e7ca3f41dd
9 changed files with 21 additions and 39 deletions

View File

@@ -110,12 +110,7 @@ pub mod blob_functions {
}
}
#[rhai_fn(return_raw)]
pub fn pad(
ctx: NativeCallContext,
blob: &mut Blob,
len: INT,
item: INT,
) -> RhaiResultOf<()> {
pub fn pad(ctx: NativeCallContext, blob: &mut Blob, len: INT, item: INT) -> RhaiResultOf<()> {
if len <= 0 {
return Ok(());
}