docs: fix a typo in the Module import aliasing section (#11017)

pull/11018/head
RotoDhoulmagus 2021-08-02 12:11:03 +08:00 committed by GitHub
parent eca7af107a
commit b88b17aca5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -1145,7 +1145,7 @@ import crypto.sha256
import mymod.sha256 as mysha256
fn main() {
v_hash := mysha256.sum('hi'.bytes()).hex()
v_hash := sha256.sum('hi'.bytes()).hex()
my_hash := mysha256.sum('hi'.bytes()).hex()
assert my_hash == v_hash
}