Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4304a9bc authored by Aka (Chih-Yu) Huang's avatar Aka (Chih-Yu) Huang Committed by Automerger Merge Worker
Browse files

Merge "Packetgen: make struct derive PartialEq trait in Rust" am: 1ae2b697...

Merge "Packetgen: make struct derive PartialEq trait in Rust" am: 1ae2b697 am: 83d4a172 am: 3c96b79f am: 5e41717f

Original change: https://android-review.googlesource.com/c/platform/packages/modules/Bluetooth/+/2101512



Change-Id: I7ed2a6d8282a4289657feb18872c4e203312cd9c
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents dd12f6f7 5e41717f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -342,7 +342,7 @@ void StructDef::GenRustFieldNames(std::ostream& s) const {
}

void StructDef::GenRustDeclarations(std::ostream& s) const {
  s << "#[derive(Debug, Clone)] ";
  s << "#[derive(Debug, Clone, PartialEq)] ";
  s << "pub struct " << name_ << "{";

  // Generate struct fields