From b24cdd1295d1129dc730e02da2c6723938220d7e Mon Sep 17 00:00:00 2001 From: Blaž Hrastnik Date: Wed, 24 Mar 2021 14:03:20 +0900 Subject: Derive a separate ViewId type. --- helix-view/src/lib.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'helix-view/src/lib.rs') diff --git a/helix-view/src/lib.rs b/helix-view/src/lib.rs index d98d2c5a..00bddad6 100644 --- a/helix-view/src/lib.rs +++ b/helix-view/src/lib.rs @@ -6,6 +6,7 @@ pub mod view; use slotmap::new_key_type; new_key_type! { pub struct DocumentId; } +new_key_type! { pub struct ViewId; } pub use document::Document; pub use editor::Editor; -- cgit v1.2.3-70-g09d2