Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: fix doctest error #523

Merged
merged 1 commit into from
Oct 8, 2024

Conversation

fitzthum
Copy link
Member

@fitzthum fitzthum commented Oct 7, 2024

For doctests, there is no keyword no-run.
Doctests recognizes no_run, but this still compiles the code, which will fail in this case.

We could fixup these examples with some hidden lines so that they compile, but since we don't really use rustdoc currently, let's just have the compiler ignore these examples.

For doctests, there is no keyword `no-run`.
Doctests recognizes `no_run`, but this still compiles the code,
which will fail in this case.

We could fixup these examples with some hidden lines so that they
compile, but since we don't really use rustdoc currently, let's
just have the compiler ignore these examples.

Signed-off-by: Tobin Feldman-Fitzthum <[email protected]>
@fitzthum fitzthum requested a review from a team as a code owner October 7, 2024 20:26
Copy link
Member

@Xynnn007 Xynnn007 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks Tobin. This is not a code that needs to be compiled so I agree with the idea.

@fitzthum fitzthum merged commit 618849b into confidential-containers:main Oct 8, 2024
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants