nus-vv-streams / vvtk

A toolkit for volumetric video research
MIT License
9 stars 8 forks source link

Run cargo fmt and remove warnings #35

Closed bokuanT closed 1 year ago

bokuanT commented 1 year ago

There is still a warning in render.rs:

warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing
   --> src\pipeline\subcommands\render.rs:153:9
    |
153 |         drop(&self.writer);
    |         ^^^^^------------^
    |              |
    |              argument has type `&PngWriter<'_>`
    |
    = note: use `let _ = ...` to ignore the expression or result
    = note: `#[warn(dropping_references)]` on by default