Skip to content

Commit f47a962

Browse files
authored
Merge pull request #252 from kianmeng/fix-typos
Fix typos
2 parents a5566e7 + f0020d7 commit f47a962

File tree

5 files changed

+8
-8
lines changed

5 files changed

+8
-8
lines changed

docs/sdk.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -415,7 +415,7 @@ print "hello world"
415415
# Print with style/color values
416416
print --style underline --color red My Bold Red Text
417417
echo
418-
print -s underline -s bold -c bright_green -bgc red Hellow World
418+
print -s underline -s bold -c bright_green -bgc red Hello World
419419
echo
420420
```
421421

@@ -455,7 +455,7 @@ println "hello world"
455455

456456
# Print with style/color values
457457
println --style underline --color red My Bold Red Text
458-
println -s underline -s bold -c bright_green -bgc red Hellow World
458+
println -s underline -s bold -c bright_green -bgc red Hello World
459459
```
460460

461461

@@ -6355,7 +6355,7 @@ handle = split text pattern
63556355
```
63566356
63576357
Splits the provided text based on the provided pattern and return a handle the
6358-
created array with all the splitted values.
6358+
created array with all the split values.
63596359
63606360
### Parameters
63616361

duckscript/src/types/error.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,10 +100,10 @@ impl Display for ScriptError {
100100
format_error_message(formatter, &meta_info, "invalid quotes location")
101101
}
102102
Self::EmptyLabel(ref meta_info) => {
103-
format_error_message(formatter, &meta_info, "empty lable found")
103+
format_error_message(formatter, &meta_info, "empty label found")
104104
}
105105
Self::UnknownPreProcessorCommand(ref meta_info) => {
106-
format_error_message(formatter, &meta_info, "unknow preprocessor command")
106+
format_error_message(formatter, &meta_info, "unknown preprocessor command")
107107
}
108108
}
109109
}

duckscript_sdk/src/sdk/std/print/help.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,6 @@ print "hello world"
3030
# Print with style/color values
3131
print --style underline --color red My Bold Red Text
3232
echo
33-
print -s underline -s bold -c bright_green -bgc red Hellow World
33+
print -s underline -s bold -c bright_green -bgc red Hello World
3434
echo
3535
```

duckscript_sdk/src/sdk/std/println/help.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,5 +27,5 @@ println "hello world"
2727

2828
# Print with style/color values
2929
println --style underline --color red My Bold Red Text
30-
println -s underline -s bold -c bright_green -bgc red Hellow World
30+
println -s underline -s bold -c bright_green -bgc red Hello World
3131
```

duckscript_sdk/src/sdk/std/string/split/help.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ handle = split text pattern
33
```
44

55
Splits the provided text based on the provided pattern and return a handle the
6-
created array with all the splitted values.
6+
created array with all the split values.
77

88
### Parameters
99

0 commit comments

Comments
 (0)