Skip to content

Commit

Permalink
Escape curly
Browse files Browse the repository at this point in the history
  • Loading branch information
d0cd committed Feb 17, 2025
1 parent 04645cd commit 37e8342
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions documentation/concepts/02_debuggin.md
Original file line number Diff line number Diff line change
Expand Up @@ -214,18 +214,18 @@ Result: 3u32
✔ <b>Command?</b> · let p1: Point = point_math.aleo/create_point(1u32, 2u32);
✔ <b>Command?</b> · let p2: Point = point_math.aleo/create_point(3u32, 4u32);
✔ <b>Command?</b> · p1
Result: Point {owner: aleo1rhgdu77hgyqd3xjj8ucu3jj9r2krwz6mnzyd80gncr5fxcwlh5rsvzp9px, x: 1u32, y: 2u32}
Result: Point {'{'}owner: aleo1rhgdu77hgyqd3xjj8ucu3jj9r2krwz6mnzyd80gncr5fxcwlh5rsvzp9px, x: 1u32, y: 2u32}

✔ <b>Command?</b> · p2
Result: Point {owner: aleo1rhgdu77hgyqd3xjj8ucu3jj9r2krwz6mnzyd80gncr5fxcwlh5rsvzp9px, x: 3u32, y: 4u32}
Result: Point {'{'}owner: aleo1rhgdu77hgyqd3xjj8ucu3jj9r2krwz6mnzyd80gncr5fxcwlh5rsvzp9px, x: 3u32, y: 4u32}

✔ <b>Command?</b> · let distance: u32 = point_math.aleo/distance(p1, p2);
✔ Command? · distance
Result: 2u32

✔ <b>Command?</b> · let sum: Point = point_math.aleo/add_points(p1, p2);
✔ <b>Command?</b> · sum
Result: Point {owner: aleo1rhgdu77hgyqd3xjj8ucu3jj9r2krwz6mnzyd80gncr5fxcwlh5rsvzp9px, x: 4u32, y: 6u32}
Result: Point {'{'}owner: aleo1rhgdu77hgyqd3xjj8ucu3jj9r2krwz6mnzyd80gncr5fxcwlh5rsvzp9px, x: 4u32, y: 6u32}
</code>
</pre>

Expand All @@ -248,10 +248,10 @@ By setting a program scope, you can also directly invoke functions and interact
<code>
✔ <b>Command?</b> · #set_program point_math

✔ <b>Command?</b> · let p: Point = Point { owner: self.caller, x: 1u32, y: 2u32 };
✔ <b>Command?</b> · let p: Point = Point {'{'} owner: self.caller, x: 1u32, y: 2u32 };

✔ <b>Command?</b> · p
Result: Point {owner: aleo1rhgdu77hgyqd3xjj8ucu3jj9r2krwz6mnzyd80gncr5fxcwlh5rsvzp9px, x: 1u32, y: 2u32}
Result: Point {'{'}owner: aleo1rhgdu77hgyqd3xjj8ucu3jj9r2krwz6mnzyd80gncr5fxcwlh5rsvzp9px, x: 1u32, y: 2u32}

✔ <b>Command?</b> · let a: u32 = sqrt_bitwise(0u32);

Expand Down
2 changes: 1 addition & 1 deletion documentation/resources/02_curated.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
id: curated
title: Curated Resources
sidebar_label: Curated Resources
sidebar_label: Curated
---

## 1. The Aleo Workshop Repository
Expand Down

0 comments on commit 37e8342

Please sign in to comment.