Skip to content

Commit

Permalink
update code_structure.md
Browse files Browse the repository at this point in the history
  • Loading branch information
StunxFS authored Nov 7, 2023
1 parent 0313615 commit 2a3606c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/code_structure.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,11 @@ On the top level only declarations are allowed.
```swift
import { import_list, ... } from module;

const FOO: int32 = 0;
const FOO: int32 := 0;

static foo: int32 = 0;
static foo: int32 := 0;

alias Foo = Baz;
alias Foo := Baz;

enum Foo { /* ... */ }

Expand All @@ -42,5 +42,5 @@ extend Foo { /* ... */ }

func foo() { /* ... */ }

test "Foo" { /* ... */ }
test "foo" { /* ... */ }
```

0 comments on commit 2a3606c

Please sign in to comment.