all: fix typos (#24470)

This commit is contained in:
omahs 2025-05-13 21:05:22 +02:00 committed by GitHub
parent 0a37c22e4f
commit 1957162c2a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
25 changed files with 52 additions and 52 deletions

View file

@ -11,37 +11,37 @@ fn a3()
fn a4()
This should be merged into one paragraph.
Note: this should be it's own paragraph.
Note: this should be its own paragraph.
fn a5()
This should be its own paragraph.
Note: this should also be it own paragraph
Note: this should be it's own paragraph.
Note: this should be its own paragraph.
fn a6()
A comment
Fixme: this should be it's own paragraph.
Fixme: this should be its own paragraph.
Fixme: this should be it's own paragraph.
Fixme: this should be its own paragraph.
Fixme: this should be it's own paragraph.
Fixme: this should be its own paragraph.
fn a7()
A comment
Todo: this should be it's own paragraph.
Todo: this should be its own paragraph.
Todo: this should be it's own paragraph.
Todo: this should be its own paragraph.
Todo: this should be it's own paragraph.
Todo: this should be its own paragraph.
fn a8()
A comment
Todo: this should be it's own paragraph.
Todo: this should be its own paragraph.
Note: this should be it's own paragraph.
Note: this should be its own paragraph.
Fixme: this should be it's own paragraph.
Fixme: this should be its own paragraph.
fn a9()
normal comment
fn foo()

View file

@ -18,38 +18,38 @@ pub fn a3() {
// This should be merged
// into one paragraph.
// Note: this should be it's own paragraph.
// Note: this should be its own paragraph.
pub fn a4() {
println('hi')
}
// This should be its own paragraph.
// NOTE: this should also be it own paragraph
// note: this should be it's own paragraph.
// note: this should be its own paragraph.
pub fn a5() {
println('hi')
}
// A comment
// Fixme: this should be it's own paragraph.
// fixme: this should be it's own paragraph.
// FIXME: this should be it's own paragraph.
// Fixme: this should be its own paragraph.
// fixme: this should be its own paragraph.
// FIXME: this should be its own paragraph.
pub fn a6() {
println('hi')
}
// A comment
// TODO: this should be it's own paragraph.
// todo: this should be it's own paragraph.
// Todo: this should be it's own paragraph.
// TODO: this should be its own paragraph.
// todo: this should be its own paragraph.
// Todo: this should be its own paragraph.
pub fn a7() {
println('hi')
}
// A comment
// TODO: this should be it's own paragraph.
// NOTE: this should be it's own paragraph.
// FIXME: this should be it's own paragraph.
// TODO: this should be its own paragraph.
// NOTE: this should be its own paragraph.
// FIXME: this should be its own paragraph.
pub fn a8() {
println('hi')
}

View file

@ -212,7 +212,7 @@ fn (upd VlsUpdater) download_prebuilt() ! {
}
if has_last_updated_at && !upd.is_force && asset_last_updated_at <= last_updated_at {
upd.log("VLS was already updated to it's latest version.")
upd.log('VLS was already updated to its latest version.')
return
}
@ -265,7 +265,7 @@ fn (upd VlsUpdater) compile_from_source() ! {
upd.log('Updating VLS repo...')
pull_result := os.execute('${os.quoted_path(vexe)} retry -- ${git} -C ${vls_src_folder} pull')
if !upd.is_force && pull_result.output.trim_space() == 'Already up to date.' {
upd.log("VLS was already updated to it's latest version.")
upd.log('VLS was already updated to its latest version.')
return
}
}

View file

@ -342,7 +342,7 @@ fn reduce_scope(content string, error_msg string, command string, do_fmt bool, f
outer_modified_smth = true
println('')
show_code_stats(code)
} else { // if can remove it, no need to go though it's children
} else { // if can remove it, no need to go through its children
for i in 0 .. item.children.len {
stack.insert(0, &item.children[i]) // breadth first search
}
@ -421,7 +421,7 @@ fn reduce_scope(content string, error_msg string, command string, do_fmt bool, f
outer_modified_smth = true
println('')
show_code_stats(code)
} else { // if can remove it, can remove it's children
} else { // if can remove it, can remove its children
for i in 0 .. item.children.len {
stack << &item.children[i]
}

View file

@ -5,7 +5,7 @@
// vshader aids in generating special shader code C headers via sokol-shdc's 'annotated GLSL' format to any
// supported target formats that sokol_gfx supports internally.
//
// vshader bootstraps itself by downloading it's own dependencies to a system cache directory on first run.
// vshader bootstraps itself by downloading its own dependencies to a system cache directory on first run.
//
// Please see https://github.com/floooh/sokol-tools/blob/master/docs/sokol-shdc.md#feature-overview
// for a more in-depth overview of the specific tool in use.

View file

@ -62,7 +62,7 @@ fn main() {
exit(0)
} else {
// The process supervisor should NOT crash/panic, unlike the workers.
// It's job, is to:
// Its job, is to:
// 1) start workers
// 2) accumulate results
// 3) produce a summary at the end