Skip to documentation
SLOP

tiny.preserves.preserve

Reference tiny.preserves preserve

Defined in tiny.preserves.

Returns v unchanged.

No direct callersNo direct callstiny.preservespreserve
Static calls · unresolved targets: 0 · external targets: 1.

Source

Source: lib/preserves/src/any.zig:271

zig
/// Returns `v` unchanged. Code that passes a value through the pattern conversions calls it for the/// same signature as the others. The call ignores `alloc` and allocates nothing. The call never/// fails, and the error union in its type exists for the root's signature alone.pub fn preserve(alloc: std.mem.Allocator, v: AnyValue) !AnyValue {    return any_conversions.preserve(alloc, v);}

Source: lib/preserves/src/root.zig:223

zig
pub const preserve = any.preserve;

Audit

Definitions1
Public names1
Members0
Version26.7.0
Revisiondaab053ee433