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

Some panic and other statements can be simplified #8227

Closed
hamirmahal opened this issue Oct 26, 2024 · 1 comment · Fixed by #8228
Closed

Some panic and other statements can be simplified #8227

hamirmahal opened this issue Oct 26, 2024 · 1 comment · Fixed by #8228

Comments

@hamirmahal
Copy link
Contributor

We can improve readability by replacing lines like

panic!(
  "expected a module ordinal for identifier '{}', but none was found.",
  module
)

with

panic!("expected a module ordinal for identifier '{module}', but none was found.")

This should improve the codebase's maintainability and developer productivity.

Copy link

stale bot commented Dec 25, 2024

This issue has been automatically marked as stale because it has not had recent activity. If this issue is still affecting you, please leave any comment (for example, "bump"). We are sorry that we haven't been able to prioritize it yet. If you have any new additional information, please include it with your comment!

@stale stale bot added stale and removed stale labels Dec 25, 2024
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 a pull request may close this issue.

1 participant