chore: Bump Rust edition to 2024 (#27800)
Follow-up to https://github.com/zed-industries/zed/pull/27791 Release Notes: - N/A
This commit is contained in:
parent
d50905e000
commit
dc64ec9cc8
802 changed files with 3775 additions and 3662 deletions
|
@ -1,4 +1,4 @@
|
|||
use gpui::{div, Context, Entity, IntoElement, ParentElement, Render, Subscription};
|
||||
use gpui::{Context, Entity, IntoElement, ParentElement, Render, Subscription, div};
|
||||
use project::image_store::{ImageFormat, ImageMetadata};
|
||||
use settings::Settings;
|
||||
use ui::prelude::*;
|
||||
|
|
|
@ -4,22 +4,22 @@ mod image_viewer_settings;
|
|||
use std::path::PathBuf;
|
||||
|
||||
use anyhow::Context as _;
|
||||
use editor::{items::entry_git_aware_label_color, EditorSettings};
|
||||
use editor::{EditorSettings, items::entry_git_aware_label_color};
|
||||
use file_icons::FileIcons;
|
||||
use gpui::{
|
||||
canvas, div, fill, img, opaque_grey, point, size, AnyElement, App, Bounds, Context, Entity,
|
||||
EventEmitter, FocusHandle, Focusable, InteractiveElement, IntoElement, ObjectFit,
|
||||
ParentElement, Render, Styled, Task, WeakEntity, Window,
|
||||
AnyElement, App, Bounds, Context, Entity, EventEmitter, FocusHandle, Focusable,
|
||||
InteractiveElement, IntoElement, ObjectFit, ParentElement, Render, Styled, Task, WeakEntity,
|
||||
Window, canvas, div, fill, img, opaque_grey, point, size,
|
||||
};
|
||||
use persistence::IMAGE_VIEWER;
|
||||
use project::{image_store::ImageItemEvent, ImageItem, Project, ProjectPath};
|
||||
use project::{ImageItem, Project, ProjectPath, image_store::ImageItemEvent};
|
||||
use settings::Settings;
|
||||
use theme::Theme;
|
||||
use ui::prelude::*;
|
||||
use util::paths::PathExt;
|
||||
use workspace::{
|
||||
item::{BreadcrumbText, Item, ProjectItem, SerializableItem, TabContentParams},
|
||||
ItemId, ItemSettings, Pane, ToolbarItemLocation, Workspace, WorkspaceId,
|
||||
item::{BreadcrumbText, Item, ProjectItem, SerializableItem, TabContentParams},
|
||||
};
|
||||
|
||||
pub use crate::image_info::*;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue