File tree Expand file tree Collapse file tree 1 file changed +14
-1
lines changed
Expand file tree Collapse file tree 1 file changed +14
-1
lines changed Original file line number Diff line number Diff line change @@ -2337,13 +2337,26 @@ pub enum AssignmentKind<Expression> {
23372337 /// let assert x = ...
23382338 Assert {
23392339 /// The src byte span of the `let assert`
2340+ ///
2341+ /// ```gleam
2342+ /// let assert Wibble = todo
2343+ /// ^^^^^^^^^^
2344+ /// ```
23402345 location : SrcSpan ,
2346+
23412347 /// The byte index of the start of `assert`
2348+ ///
2349+ /// ```gleam
2350+ /// let assert Wibble = todo
2351+ /// ^
2352+ /// ```
23422353 assert_keyword_start : u32 ,
2354+
23432355 /// The message given to the assertion:
2356+ ///
23442357 /// ```gleam
23452358 /// let asset Ok(a) = something() as "This will never fail"
2346- /// // ^ Message
2359+ /// ^^^^^^^^^^^^^^^^^^^^^^
23472360 /// ```
23482361 message : Option < Expression > ,
23492362 } ,
You can’t perform that action at this time.
0 commit comments