Method
toggle_command_palette
(&mut self, window: &mut Window, cx: &mut Context<Self>)
Source from the content-addressed store, hash-verified
| 1693 | fn derive_request_display_name(method: HttpMethod, url: &str) -> String { |
| 1694 | match Self::extract_url_path(url) { |
| 1695 | Some(path) => format!("{} {}", method.as_str(), path), |
| 1696 | None => "New Request".to_string(), |
| 1697 | } |
| 1698 | } |
| 1699 | |
| 1700 | fn destination_options(entries: Vec<CollectionDestinationEntry>) -> Vec<DestinationOption> { |
| 1701 | entries |
| 1702 | .into_iter() |
Tested by
no test coverage detected