mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
compiler: optionals default value
This commit is contained in:
committed by
Alexander Medvednikov
parent
4e64a58ac1
commit
df5faf35e5
@@ -55,7 +55,7 @@ pub fn new() &Digest {
|
||||
return d
|
||||
}
|
||||
|
||||
pub fn (d mut Digest) write(p_ []byte) ?int {
|
||||
pub fn (d mut Digest) write(p_ []byte) int {
|
||||
mut p := p_
|
||||
nn := p.len
|
||||
d.len += u64(nn)
|
||||
|
||||
Reference in New Issue
Block a user