Fix a typo [skip ci]

This commit is contained in:
Zahary Karadjov 2020-04-22 16:39:37 +03:00
parent 1eed7a72b7
commit df7f2e7ed5
No known key found for this signature in database
GPG Key ID: C8936F8A3073D609
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@ func declval*(T: type): T {.compileTime.} =
## to `not nil` or `requiresInit` requirements.
##
doAssert false,
"declvar should be used only in `typeof` expressions and concepts"
"declval should be used only in `typeof` expressions and concepts"
default(ptr T)[]
when not compiles(len((1, 2))):