mirror of
https://github.com/italicsjenga/agb.git
synced 2024-12-23 08:11:33 +11:00
allow dead code of an enum parameter only used in a debug print
This commit is contained in:
parent
3840c4ce80
commit
8e367ab6b6
|
@ -1074,6 +1074,9 @@ mod tests {
|
||||||
}
|
}
|
||||||
|
|
||||||
#[derive(Debug)]
|
#[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 {
|
enum CompleteSimulationResult {
|
||||||
Success,
|
Success,
|
||||||
ExplicitLoss,
|
ExplicitLoss,
|
||||||
|
|
Loading…
Reference in a new issue