Skip to content

Commit

Permalink
[docs] Fixed typos and formatting (#19546)
Browse files Browse the repository at this point in the history
## Description 

- Use `move` instead of `rust` for some code blocks
- Fix alignment in `conventions.md` with standard 4 spaces
- Fix minor formatting issues elsewhere
  • Loading branch information
i582 authored Sep 25, 2024
1 parent c76e196 commit 22fb154
Show file tree
Hide file tree
Showing 4 changed files with 272 additions and 273 deletions.
4 changes: 2 additions & 2 deletions docs/content/concepts/events.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ module examples::donuts_with_events {
// Emit the event using future object's ID.
event::emit(DonutBought { id: object::uid_to_inner(&id) });
Donut { id }
Donut { id }
}
/// Consume donut and get nothing...
Expand Down Expand Up @@ -104,4 +104,4 @@ module examples::donuts_with_events {

## Related links

- [Using Events](/guides/developer/sui-101/using-events.mdx): A guide to leveraging Sui events in your smart contracts.
- [Using Events](/guides/developer/sui-101/using-events.mdx): A guide to leveraging Sui events in your smart contracts.
Loading

0 comments on commit 22fb154

Please sign in to comment.