We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0d6297a commit 3709ca6Copy full SHA for 3709ca6
src/writer.rs
@@ -467,7 +467,7 @@ impl FdtWriter {
467
pub fn property_array_u32(&mut self, name: &str, cells: &[u32]) -> Result<()> {
468
let mut arr = Vec::with_capacity(size_of_val(cells));
469
for &c in cells {
470
- arr.extend(&c.to_be_bytes());
+ arr.extend(c.to_be_bytes());
471
}
472
self.property(name, &arr)
473
@@ -476,7 +476,7 @@ impl FdtWriter {
476
pub fn property_array_u64(&mut self, name: &str, cells: &[u64]) -> Result<()> {
477
478
479
480
481
482
0 commit comments