mirror of
https://github.com/italicsjenga/agb.git
synced 2025-01-22 07:06:41 +11:00
allow dead code of an enum parameter only used in a debug print
This commit is contained in:
parent
3840c4ce80
commit
8e367ab6b6
1 changed files with 3 additions and 0 deletions
|
@ -1074,6 +1074,9 @@ mod tests {
|
|||
}
|
||||
|
||||
#[derive(Debug)]
|
||||
// allow dead code because field is unused apart from in a debug string,
|
||||
// which is what we want to use it for.
|
||||
#[allow(dead_code)]
|
||||
enum CompleteSimulationResult {
|
||||
Success,
|
||||
ExplicitLoss,
|
||||
|
|
Loading…
Add table
Reference in a new issue