Skip to content

Commit 20af4d7

Browse files
committed
Add expected failure annotation on "fixed" example to placate 'make check'.
1 parent 2dda6d6 commit 20af4d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/tutorial-borrowed-ptr.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -366,7 +366,7 @@ Things get trickier when the unique box is not uniquely owned by the
366366
stack frame, or when there is no way for the compiler to determine the
367367
box's owner. Consider a program like this:
368368

369-
~~~
369+
~~~ {.xfail-test}
370370
struct R { g: int }
371371
struct S { mut f: ~R }
372372
fn example5a(x: @S, callback: @fn()) -> int {

0 commit comments

Comments
 (0)