Skip to content

Commit 84ceee8

Browse files
committed
Fix rectangle example
1 parent 58b0c13 commit 84ceee8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

rust/kcl-lib/std/sketch.kcl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -265,8 +265,8 @@ export fn startProfile(
265265
///
266266
/// ```
267267
/// exampleSketch = startSketchOn(-XZ)
268-
/// |> rectangle(corner = [0, 0], width = 10, height = 5)
269-
// |> extrude(length = 2)
268+
/// rectSolid = rectangle(exampleSketch, corner = [0, 0], width = 10, height = 5)
269+
/// |> extrude(length = 2)
270270
/// ```
271271
@(impl = std_rust)
272272
export fn rectangle(

0 commit comments

Comments
 (0)