Skip to content

Commit 893267f

Browse files
authored
Merge pull request #295 from Tr1bute/patch-1
Fixed some grammatical typos in the documentation overview.
2 parents 97fa3ca + f4285b0 commit 893267f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

content/docs/overview.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2989,7 +2989,7 @@ Please see the procedure attribute [`@(test)`](https://odin-lang.org/docs/overvi
29892989

29902990
### `when` statements
29912991

2992-
Sometimes you only want compile a block of code if a certain compile-time expression evaluates to `true`. This can be done using the [when statements](#when-statement):
2992+
Sometimes you only want to compile a block of code if a certain compile-time expression evaluates to `true`. This can be done using the [when statements](#when-statement):
29932993

29942994
```
29952995
when ODIN_OS == .Linux {
@@ -3002,7 +3002,7 @@ The compiler provides a set of builtin constants which are available in all file
30023002
| Name | Description |
30033003
|-----------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
30043004
| `ODIN_ARCH` | An enum value indicating what the CPU architecture of the target is. (`.amd64`, `.i386`, `.arm32`, `.arm64`, `.wasm32`, `.wasm64p32`, `.riscv64`) |
3005-
| `ODIN_ARCH_STRING` | An string indicating what the CPU architecture of the target is. (`"amd64"`, `"i386"`, `"arm32"`, `"arm64"`, `"wasm32"`, `"wasm64p32"`, `"riscv64"`) |
3005+
| `ODIN_ARCH_STRING` | A string indicating what the CPU architecture of the target is. (`"amd64"`, `"i386"`, `"arm32"`, `"arm64"`, `"wasm32"`, `"wasm64p32"`, `"riscv64"`) |
30063006
| `ODIN_BUILD_MODE` | An enum value indicating what type of compiled output the user desires. (`.Executable`, `.Dynamic`, `.Static`, `.Object`, `.Assembly`, or `.LLVM_IR`) |
30073007
| `ODIN_BUILD_PROJECT_NAME` | Name of the folder that contains the entry point. |
30083008
| `ODIN_COMPILE_TIMESTAMP` | An i64 containing the time at which the executable was compiled, in nanoseconds. This is compatible with the `time.Time` type, i.e. `time.Time{_nsec=ODIN_COMPILE_TIMESTAMP}` |

0 commit comments

Comments
 (0)