aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--articles/2020-11-13-systems-languages-for-discord-bots.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/articles/2020-11-13-systems-languages-for-discord-bots.md b/articles/2020-11-13-systems-languages-for-discord-bots.md
index 99c3ae5..b6a0ea8 100644
--- a/articles/2020-11-13-systems-languages-for-discord-bots.md
+++ b/articles/2020-11-13-systems-languages-for-discord-bots.md
@@ -70,15 +70,15 @@ In another comparison, typing is **insanely** similar, take a look at this.
# Example One
```rust
-let value: String = "Hello.";
+let value: String = "Hello!".to_string();
```
# Example Two
```ts
-let value: string = "Hello.";
+let value: string = "Hello!";
```
-Which one do you think is Rust, which one TypeScript? Well, example one was Rust. So you see, the typing system is very similar, so you would catch on in no time.
+Which one do you think is Rust, which one TypeScript? Well, example one was Rust -- ***somewhat obviously***, but you see, the typing system is very similar, so you would catch on in no time.
<small>If you would like more information on either of the typings, here is a list of [Rust's typings](https://doc.rust-lang.org/reference/types.html), and [TypeScript's typings](https://blog.angular-university.io/typescript-2-type-system-how-do-type-definitions-work-in-npm-when-to-use-types-and-why-what-are-compiler-opt-in-types/).</small>