luizirber / niffler

Simple and transparent support for compressed files.
Apache License 2.0
75 stars 7 forks source link

Use &mut in docs #19

Closed luizirber closed 4 years ago

luizirber commented 4 years ago

I changed the docs a bit, so it uses Box::new(&mut buf) following the API guidelines (and because I always messes it up and forget the &mut part, so it is good to have it as a reminder =])

This also makes it possible to test the get_writer docs without resorting to temporary files.

codecov[bot] commented 4 years ago

Codecov Report

Merging #19 into master will not change coverage. The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master      #19   +/-   ##
=======================================
  Coverage   73.87%   73.87%           
=======================================
  Files           2        2           
  Lines         222      222           
  Branches       36       36           
=======================================
  Hits          164      164           
  Misses         24       24           
  Partials       34       34           
Impacted Files Coverage Δ
src/lib.rs 83.33% <ø> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 71d7575...27d697c. Read the comment docs.