jiff::util

Module borrow

Source
Expand description

This module re-exports a “dumb” version of std::borrow::Cow.

It doesn’t have any of the generic goodness and doesn’t support dynamically sized types. It’s just either a T or a &T.

We have pretty simplistic needs, and we use this simpler type that works in core-only mode.

Enums§