Skip to content

Commit

Permalink
chore(docs): removing note on structs not being outputted (#3449)
Browse files Browse the repository at this point in the history
Co-authored-by: TomAFrench <[email protected]>
  • Loading branch information
signorecello and TomAFrench authored Nov 14, 2023
1 parent d7f919d commit 2883488
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 13 deletions.
4 changes: 0 additions & 4 deletions docs/docs/language_concepts/data_types/08_structs.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,3 @@ fn get_octopus() -> Animal {

The new variables can be bound with names different from the original struct field names, as
showcased in the `legs --> feet` binding in the example above.

:::note
You can use Structs as inputs to the `main` function, but you can't output them
:::
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,3 @@ fn get_octopus() -> Animal {

The new variables can be bound with names different from the original struct field names, as
showcased in the `legs --> feet` binding in the example above.

:::note
You can use Structs as inputs to the `main` function, but you can't output them
:::
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,4 @@ fn get_octopus() -> Animal {
```

The new variables can be bound with names different from the original struct field names, as
showcased in the `legs --> feet` binding in the example above.

:::note
You can use Structs as inputs to the `main` function, but you can't output them
:::
showcased in the `legs --> feet` binding in the example above.

0 comments on commit 2883488

Please sign in to comment.