Skip to content

Commit

Permalink
Add title of file to example (#42)
Browse files Browse the repository at this point in the history
  • Loading branch information
leighmcculloch authored Jul 29, 2022
1 parent c507621 commit a2427c8
Showing 1 changed file with 1 addition and 1 deletion.
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

0 comments on commit a2427c8

Please sign in to comment.