Repository navigation
Commit 7caed6e
Derive the usual traits on ResetDirective
It was the only public enum in the crate with no derives at all, while
FrameFormat, DictAttachPref, ParamSwitch, CParameter and DParameter all
derive Copy, Clone, Debug, PartialEq and Eq - CParameter and DParameter
even though they carry data.
Being Copy also means as_sys() no longer consumes the directive, so the
reset methods can just ask it whether it drops the session rather than
working that out beforehand.
Co-Authored-By: Claude Opus 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01TeZDBS4Uw5kdF77tkJ7cAe1 parent bf7b1f7 commit 7caed6e
1 file changed
Lines changed: 4 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
642 | 642 | | |
643 | 643 | | |
644 | 644 | | |
645 | | - | |
646 | 645 | | |
647 | 646 | | |
648 | 647 | | |
649 | | - | |
| 648 | + | |
650 | 649 | | |
651 | 650 | | |
652 | 651 | | |
| |||
1126 | 1125 | | |
1127 | 1126 | | |
1128 | 1127 | | |
1129 | | - | |
1130 | 1128 | | |
1131 | 1129 | | |
1132 | 1130 | | |
1133 | | - | |
| 1131 | + | |
1134 | 1132 | | |
1135 | 1133 | | |
1136 | 1134 | | |
| |||
2162 | 2160 | | |
2163 | 2161 | | |
2164 | 2162 | | |
| 2163 | + | |
2165 | 2164 | | |
2166 | 2165 | | |
2167 | 2166 | | |
| |||
2191 | 2190 | | |
2192 | 2191 | | |
2193 | 2192 | | |
2194 | | - | |
| 2193 | + | |
2195 | 2194 | | |
2196 | 2195 | | |
2197 | 2196 | | |
| |||
0 commit comments