BlueGit

ict rusty-teams

Files

rusty-teams / vendor / gpui-component / src / index_path.rs

index_path.rs

index_path.rs 299 B Download Raw
1pub use gpui_base::IndexPath;
2
3#[cfg(test)]
4mod tests {
5 use super::*;
6
7 #[test]
8 fn legacy_export_is_the_base_type() {
9 fn accepts_base(_: gpui_base::IndexPath) {}
10
11 let legacy: crate::IndexPath = IndexPath::new(2).section(1).column(3);
12 accepts_base(legacy);
13 }
14}