docs: fix a typo in the Module import aliasing section (#11017)
parent
eca7af107a
commit
b88b17aca5
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue