From 7f974a275a999caa46416029a20b49d0dc14febc Mon Sep 17 00:00:00 2001 From: Delyan Angelov Date: Fri, 6 May 2022 09:10:42 +0300 Subject: [PATCH] docs: fix `teh` typo --- vlib/stbi/stbi.c.v | 2 +- vlib/v/parser/fn.v | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/vlib/stbi/stbi.c.v b/vlib/stbi/stbi.c.v index f970bb3a1..dbadf43fd 100644 --- a/vlib/stbi/stbi.c.v +++ b/vlib/stbi/stbi.c.v @@ -156,7 +156,7 @@ pub fn stbi_write_tga(path string, w int, h int, comp int, buf &u8) ? { } // stbi_write_png write on path a JPG file -// quality select teh compression quality of the JPG +// quality select the compression quality of the JPG // quality is between 1 and 100. Higher quality looks better but results in a bigger image. pub fn stbi_write_jpg(path string, w int, h int, comp int, buf &u8, quality int) ? { if 0 == C.stbi_write_jpg(&char(path.str), w, h, comp, buf, quality) { diff --git a/vlib/v/parser/fn.v b/vlib/v/parser/fn.v index 59a364e5d..8f706aab9 100644 --- a/vlib/v/parser/fn.v +++ b/vlib/v/parser/fn.v @@ -223,7 +223,7 @@ fn (mut p Parser) fn_decl() ast.FnDecl { p.tok.pos()) } '_fastcall' { - p.note_with_pos('teh tag [_fastcall] has been deprecated, it will be an error after 2022-06-01, use `[callconv: fastcall]` instead', + p.note_with_pos('the tag [_fastcall] has been deprecated, it will be an error after 2022-06-01, use `[callconv: fastcall]` instead', p.tok.pos()) } 'callconv' { -- 2.30.2