diff options
author | Dante Calderón <dantehemerson@gmail.com> | 2020-05-13 23:38:42 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-14 06:38:42 +0200 |
commit | c3a205bae854edc02f10bcaa292b0e2694baabc8 (patch) | |
tree | fc174f235dab33616614c384c38004a6aab095f8 /std/fmt | |
parent | 45ec10535a797d96571d41a3753c9db16bafc15b (diff) |
Fix typos across the repo (#5295)
Corrections made:
* cli/js/tests/README.md:44:7: corrected "discoveres" to "discovers"
* cli/js/tests/chown_test.ts:111:37: corrected "priviledge" to "privilege"
* cli/worker.rs:231:56: corrected "decendants" to "descendants"
* deno_typescript/lib.rs:136:50: corrected "emmited" to "emitted"
* core/es_isolate.rs:492:67: corrected "registerd" to "registered"
* core/isolate.rs:103:28: corrected "initalize" to "initialize"
* docs/runtime.md:29:14: corrected "ect" to "etc"
* docs/tools/debugger.md:122:16: corrected "implementes" to "implements"
* std/encoding/_yaml/dumper/dumper_state.ts:57:63: corrected "everwhere" to "everywhere"
* std/encoding/csv.ts:37:43: corrected "referal" to "referral"
* std/fmt/sprintf.ts:209:20: corrected "unusuable" to "unusable"
* std/fmt/README.md:21:40: corrected "Alternativly" to "Alternatively"
* std/fmt/README.md:35:68: corrected "seperated" to "separated"
* std/fmt/README.md:179:59: corrected "provded" to "provided"
* std/mime/multipart.ts:581:46: corrected "writen" to "written"
* std/path/_globrex.ts:19:52: corrected "equivelant" to "equivalent"
* std/node/events_test.ts:447:9: corrected "asyncronous" to "asynchronous"
* std/node/events_test.ts:475:9: corrected "asyncronous" to "asynchronous"
* std/node/events_test.ts:500:29: corrected "asyncronous" to "asynchronous"
* std/node/events_test.ts:530:40: corrected "asyncronous" to "asynchronous"
* std/node/events_test.ts:555:9: corrected "asyncronous" to "asynchronous"
* tools/deno_tcp_proxy.ts:1:42: corrected "perfromance" to "performance"
* std/node/module.ts:1003:18: corrected "existend" to "existed"
Diffstat (limited to 'std/fmt')
-rw-r--r-- | std/fmt/README.md | 6 | ||||
-rw-r--r-- | std/fmt/sprintf.ts | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/std/fmt/README.md b/std/fmt/README.md index 8229a585c..0d2f4e1cb 100644 --- a/std/fmt/README.md +++ b/std/fmt/README.md @@ -18,7 +18,7 @@ This is very much a work-in-progress. I'm actively soliciting feedback. - behaviour of `%v` verb. In Golang, this is a shortcut verb to "print the default format" of the argument. It is currently implemented to format using `toString` in the default case and `inpect` if the `%#v` alternative format - flag is used in the format directive. Alternativly, `%V` could be used to + flag is used in the format directive. Alternatively, `%V` could be used to distinguish the two. `inspect` output is not defined, however. This may be problematic if using @@ -32,7 +32,7 @@ This is very much a work-in-progress. I'm actively soliciting feedback. Consider possible modifier flags, etc. - `<` verb. This is an extension that assumes the argument is an array and will - format each element according to the format (surrounded by [] and seperated by + format each element according to the format (surrounded by [] and separated by comma) (`<` Mnemonic: pull each element out of array) - how to deal with more newfangled Javascript features ( generic Iterables, Map @@ -176,7 +176,7 @@ the 'depth' config parameter ## Positional arguments -Arguments do not need to be consumed in the order they are provded and may be +Arguments do not need to be consumed in the order they are provided and may be consumed more than once. E.g.: sprintf("%[2]s %[1]s", "World", "Hello") diff --git a/std/fmt/sprintf.ts b/std/fmt/sprintf.ts index d79b9095e..fb59b2925 100644 --- a/std/fmt/sprintf.ts +++ b/std/fmt/sprintf.ts @@ -206,7 +206,7 @@ class Printf { default: const val = parseInt(c); // most likely parseInt does something stupid that makes - // it unusuable for this scenario ... + // it unusable for this scenario ... // if we encounter a non (number|*|.) we're done with prec & wid if (isNaN(val)) { this.i--; |