Skip to content
This repository has been archived by the owner on Aug 21, 2024. It is now read-only.

Add title of file to example #42

Merged
merged 1 commit into from
Jul 29, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/tutorials/write-a-contract.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ only if a feature is enabled, with `export_if = "[feature-name]"`.

Putting those pieces together a simple contract will look like this.

```rust
```rust title="src/lib.rs"
#![no_std]
use soroban_sdk::{contractimpl, vec, Env, Symbol, Vec};

Expand Down