gpui-component/crates/ui/src/sidebar
Jason Lee 851099f890
sidebar: Refactor Sidebar API to avoid map call will segmentation fault on release. (#628)
Close #471

```
    Finished `release` profile [optimized] target(s) in 9.99s
     Running `target/release/examples/sidebar`
[1]    30606 segmentation fault  cargo run --example sidebar --release
```

This may cause by used `map` break by maybe Rust compiler bug, I
detected that if I remove a `map`, then the crash will gone.

So, this changes to refactor the Sidebar API to avoid use `map`.
2025-02-14 17:18:39 +08:00
..
footer.rs chrome: Refactor state fields to remove is_ prefix. (#627) 2025-02-14 15:20:18 +08:00
group.rs chrome: Refactor state fields to remove is_ prefix. (#627) 2025-02-14 15:20:18 +08:00
header.rs chrome: Refactor state fields to remove is_ prefix. (#627) 2025-02-14 15:20:18 +08:00
menu.rs sidebar: Refactor Sidebar API to avoid map call will segmentation fault on release. (#628) 2025-02-14 17:18:39 +08:00
mod.rs chrome: Refactor state fields to remove is_ prefix. (#627) 2025-02-14 15:20:18 +08:00