Skip to content

incorrect indent for dbg!(tiny_vec) #192

@kzhui125

Description

@kzhui125
use tinyvec::tiny_vec;

#[derive(Debug)]
pub struct Point {
    id1: i32,
}

impl Default for Point {
    fn default() -> Self {
        Self { id1: 0 }
    }
}

fn main() {
    let arr = tiny_vec!([Point; 1] => Point { id1: 1 });
    dbg!(arr);

    let arr = vec![Point { id1: 1 }];
    dbg!(arr);
}
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions