//! Get content area inside border for position calculations.
use Rect;
use TocConfig;
/// Get the content area inside border for position calculations.
///
/// # Arguments
///
/// * `area` - The outer TOC area.
/// * `config` - The TOC configuration.
///
/// # Returns
///
/// The inner content area, accounting for border if enabled.