You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: common_grid.rs
    path of file: ./repos/tabled/papergrid/examples
    
    the code of the file until where you have to start completion: //! This example demonstrates the flexibility of [`papergrid`] with manual configurations
//! of [`Borders`], [`CompactConfig`], and column counts with [`IterRecords`].
//!
//! * For an alternative to [`CompactGrid`] and [`CompactGridDimension`] with
//! flexible row height, variable intra-column spans, and multiline cell support
//! see [`G
    
fn main() {
    let cfg = generate_table_config();

    let data = [
        ["Papergrid", "is a library", "for printing tables", "!"],
        [
            "Just like this",
            "NOTICE",
            "that multiline is not supported",
            "H\ne\nl\nl\no",
        ],
    ];
    let records = IterRecords::new(data, 4, None);

    let mut dim = CompactGridDimension::default();
    dim.estimate(records, &cfg);

    let grid = CompactGrid::new(records, &dim, &cfg);

    println!("{grid}");
}