Change underlying type of BufferId to NonZeroU64.
This commit is contained in:
parent
5ab715aac9
commit
b29f45ea68
3 changed files with 10 additions and 8 deletions
|
@ -722,7 +722,7 @@ impl Project {
|
|||
worktrees: Vec::new(),
|
||||
buffer_ordered_messages_tx: tx,
|
||||
loading_buffers_by_path: Default::default(),
|
||||
next_buffer_id: BufferId::default(),
|
||||
next_buffer_id: BufferId::new(1).unwrap(),
|
||||
opened_buffer: watch::channel(),
|
||||
shared_buffers: Default::default(),
|
||||
incomplete_remote_buffers: Default::default(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue