Skip to content

buffered_reader: Introduce `into_boxed` and deprecate `as_boxed`.

Wiktor Kwapisiewicz requested to merge wiktor/as-boxed-into into main
  • According to the Rust API Guidelines, a conversion function taking self should be called into_* if the self is not Copy, so this function should be named into_boxed.

  • Deprecate old function not to break the API.

  • Update all references in the code.

  • Fixes #781 (closed)

Merge request reports