Skip to content

The ! suffix #406

@leodemoura

Description

@leodemoura

Andrew Kent pointed out we were using the ! for both macros and functions that may panic at runtime.
We decided to use it only for functions that panic, and have started making the changes, but we still have to-do items.

  • The string interpolation notations are still using !.
  • Some functions that may panic at runtime still don't have !.
  • Add a[i]! notation for array access that may panic at runtime

Metadata

Metadata

Assignees

No one assigned

    Labels

    P-lowWe are not planning to work on this issuerefactoringCode refactoring

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions