From aada47bb5664a5cf72c9306f988db81cceedcf88 Mon Sep 17 00:00:00 2001 From: Mattthew Heath Date: Thu, 12 Sep 2024 22:06:51 +0100 Subject: [PATCH] Fix spelling and zig fmt --- crates/compiler/builtins/bitcode/src/crypt.zig | 1 - crates/compiler/builtins/roc/Crypt.roc | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/crates/compiler/builtins/bitcode/src/crypt.zig b/crates/compiler/builtins/bitcode/src/crypt.zig index 086faf4007..93cba4d2cd 100644 --- a/crates/compiler/builtins/bitcode/src/crypt.zig +++ b/crates/compiler/builtins/bitcode/src/crypt.zig @@ -38,4 +38,3 @@ pub const Digest256 = extern struct { pub fn sha256Digest(sha: Sha256) callconv(.C) Digest256 { return @bitCast(sha.pointer().*.peek()); } - \ No newline at end of file diff --git a/crates/compiler/builtins/roc/Crypt.roc b/crates/compiler/builtins/roc/Crypt.roc index 10b24348cf..3a0a1ed445 100644 --- a/crates/compiler/builtins/roc/Crypt.roc +++ b/crates/compiler/builtins/roc/Crypt.roc @@ -17,7 +17,7 @@ import Str ## Represents, as an opaque type, the state of a SHA256 cryptographic hashing function, after some (or no) data have been added to the hash. Sha256 := { location : U64 } -## Represents the digest of soem data produced by the SHA256 cryptographic hashing function as an opaque type. +## Represents the digest of some data produced by the SHA256 cryptographic hashing function as an opaque type. ## `Digest256`implements the `Eq` ability. Digest256 := { firstHalf : U128, secondHalf : U128 } implements [Eq]