mirror of
https://github.com/vlang/v.git
synced 2025-09-13 14:32:26 +03:00
compiler: optionals default value
This commit is contained in:
parent
4e64a58ac1
commit
df5faf35e5
14 changed files with 86 additions and 26 deletions
|
@ -151,7 +151,7 @@ fn new384() &Digest {
|
|||
return new_digest(.sha384)
|
||||
}
|
||||
|
||||
fn (d mut Digest) write(p_ []byte) ?int {
|
||||
fn (d mut Digest) write(p_ []byte) int {
|
||||
mut p := p_
|
||||
nn := p.len
|
||||
d.len += u64(nn)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue