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

Add #[track_caller] in more locations #201

Merged
merged 1 commit into from
Apr 12, 2023

Conversation

connorskees
Copy link
Contributor

Adds the #[track_caller] attribute to more instances of index and index_mut. In the cases where the panic occurs in a closure, the closure is removed, as it is not currently possible to decorate closures with the #[track_caller] attribute.

@myrrlyn
Copy link
Collaborator

myrrlyn commented Apr 12, 2023

Hi! I apologize for the long delay; I have had a very stressful winter and have not had the time or energy to check this repository in a timely manner. I'm trying to catch up now.

Thank you for this.

@myrrlyn myrrlyn merged commit 5fb8550 into ferrilab:main Apr 12, 2023
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.

None yet

2 participants