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

Open
hamirmahal opened this issue Oct 26, 2024 · 0 comments · May be fixed by #8228
Open

Some panic and other statements can be simplified #8227

hamirmahal opened this issue Oct 26, 2024 · 0 comments · May be fixed by #8228

Comments

@hamirmahal
Copy link

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.

@hamirmahal hamirmahal linked a pull request Oct 26, 2024 that will close this issue
2 tasks
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