Update pdl to 0.2.0

- Allows removing impl PartialEq for pdl Error
This commit is contained in:
Gabriel White-Vega
2023-10-02 11:20:44 -04:00
parent 511ab4b630
commit ce74690420
6 changed files with 33 additions and 94 deletions

View File

@@ -13,9 +13,9 @@
// limitations under the License.
use crate::internal::hci::{
packets::{self, Event, EventBuilder, EventCode, Packet, Sco},
parse_with_expected_packet_type, prepend_packet_type, PacketType, PacketTypeParseError,
WithPacketType,
packets::{Event, EventBuilder, EventCode, Sco},
parse_with_expected_packet_type, prepend_packet_type, Error, Packet, PacketType,
PacketTypeParseError, WithPacketType,
};
use bytes::Bytes;
@@ -78,7 +78,7 @@ fn test_packet_roundtrip_with_type() {
struct FakePacket;
impl FakePacket {
fn parse(_bytes: &[u8]) -> Result<Self, packets::Error> {
fn parse(_bytes: &[u8]) -> Result<Self, Error> {
Ok(Self)
}
}