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

doc: test: Fix panic in doc example #5

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

sidcha
Copy link

@sidcha sidcha commented Jun 29, 2024

The exmaple provided in src/lib.rs panics because the code attempts look for debug args when the interface does not have one. Fix this issue by guarding these calls with the bool self.ifc_debug which indactes the presnesce of those options.

Fixes: #4

The exmaple provided in src/lib.rs panics because the code attempts look
for debug args when the interface does not have one. Fix this issue by
guarding these calls with the bool self.ifc_debug which indactes the
presnesce of those options.

Fixes: tkeksa#4
Signed-off-by: Siddharth Chandrasekaran <[email protected]>
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.

Quick example panics
1 participant