diff options
-rw-r--r-- | crates/completion/src/render.rs | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/crates/completion/src/render.rs b/crates/completion/src/render.rs index 28731e04f..d78877421 100644 --- a/crates/completion/src/render.rs +++ b/crates/completion/src/render.rs | |||
@@ -24,6 +24,11 @@ pub(crate) use crate::render::{ | |||
24 | }; | 24 | }; |
25 | 25 | ||
26 | #[derive(Debug)] | 26 | #[derive(Debug)] |
27 | pub(crate) struct Render<'a> { | ||
28 | ctx: RenderContext<'a>, | ||
29 | } | ||
30 | |||
31 | #[derive(Debug)] | ||
27 | pub(crate) struct RenderContext<'a> { | 32 | pub(crate) struct RenderContext<'a> { |
28 | completion: &'a CompletionContext<'a>, | 33 | completion: &'a CompletionContext<'a>, |
29 | } | 34 | } |
@@ -73,11 +78,6 @@ impl<'a> From<&'a CompletionContext<'a>> for RenderContext<'a> { | |||
73 | } | 78 | } |
74 | } | 79 | } |
75 | 80 | ||
76 | #[derive(Debug)] | ||
77 | pub(crate) struct Render<'a> { | ||
78 | ctx: RenderContext<'a>, | ||
79 | } | ||
80 | |||
81 | impl<'a> Render<'a> { | 81 | impl<'a> Render<'a> { |
82 | pub(crate) fn new(ctx: RenderContext<'a>) -> Render<'a> { | 82 | pub(crate) fn new(ctx: RenderContext<'a>) -> Render<'a> { |
83 | Render { ctx } | 83 | Render { ctx } |