Преглед на файлове

Remove stale comment since a1b46ece05e73896250f86815c4ad6df6095797d

Tamir Duberstein преди 1 месец
родител
ревизия
b6daf463e6
променени са 1 файла, в които са добавени 0 реда и са изтрити 1 реда
  1. 0 1
      aya-obj/src/btf/btf.rs

+ 0 - 1
aya-obj/src/btf/btf.rs

@@ -464,7 +464,6 @@ impl Btf {
     pub fn to_bytes(&self) -> Vec<u8> {
         // Safety: btf_header is POD
         let mut buf = unsafe { bytes_of::<btf_header>(&self.header).to_vec() };
-        // Skip the first type since it's always BtfType::Unknown for type_by_id to work
         buf.extend(self.types.to_bytes());
         buf.put(self.strings.as_slice());
         buf