summaryrefslogtreecommitdiff
path: root/content/post
diff options
context:
space:
mode:
authorgarhve <git@garhve.com>2023-01-12 19:19:30 +0800
committergarhve <git@garhve.com>2023-01-12 19:19:30 +0800
commit82a5493c360cc07a5c0846b83805d271d1544ea4 (patch)
tree2ac82962adc2e45889f29e52acddd52549f8dd60 /content/post
parentecb294ad0ba17e7fd4d21716dab161909aaa40ab (diff)
fix typo
Diffstat (limited to 'content/post')
-rw-r--r--content/post/rust basic.md1
1 files changed, 1 insertions, 0 deletions
diff --git a/content/post/rust basic.md b/content/post/rust basic.md
index cef57e0..8ab3401 100644
--- a/content/post/rust basic.md
+++ b/content/post/rust basic.md
@@ -14,6 +14,7 @@ math = false
There are a bunch of built-in types we can work with: *scalar types* and *compound types*.
Those scalar types are just alike as C language.
+
| scalar types | rust | c |
| ------------- |------------- | ------- |
| integer | i(u)8/i16/i32(default)/i64 | (unsigned) char/short/int/long |