// =============================================================================
// Copyright (c) 2026 Haixing Hu.
//
// SPDX-License-Identifier: Apache-2.0
//
// Licensed under the Apache License, Version 2.0.
// =============================================================================
//! Borrowed map adapter for nested collection redaction.
use HashMap;
use Redact;
use RedactionWriter;
/// Borrows one map so nested redaction shares its parent's policy and budget.
pub