Skip to content

Commit

Permalink
Fix spelling and zig fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
MatthewJohnHeath committed Sep 12, 2024
1 parent 6e4eba9 commit 29db7e0
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion crates/compiler/builtins/bitcode/src/crypt.zig
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,3 @@ pub const Digest256 = extern struct {
pub fn sha256Digest(sha: Sha256) callconv(.C) Digest256 {
return @bitCast(sha.pointer().*.peek());
}

2 changes: 1 addition & 1 deletion crates/compiler/builtins/roc/Crypt.roc
Original file line number Diff line number Diff line change
Expand Up @@ -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]

Expand Down

0 comments on commit 29db7e0

Please sign in to comment.