mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
docs: fix a typo in the Module import aliasing section (#11017)
This commit is contained in:
@@ -1145,7 +1145,7 @@ import crypto.sha256
|
|||||||
import mymod.sha256 as mysha256
|
import mymod.sha256 as mysha256
|
||||||
|
|
||||||
fn main() {
|
fn main() {
|
||||||
v_hash := mysha256.sum('hi'.bytes()).hex()
|
v_hash := sha256.sum('hi'.bytes()).hex()
|
||||||
my_hash := mysha256.sum('hi'.bytes()).hex()
|
my_hash := mysha256.sum('hi'.bytes()).hex()
|
||||||
assert my_hash == v_hash
|
assert my_hash == v_hash
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user