Skip to content

Commit

Permalink
Hide some helpers
Browse files Browse the repository at this point in the history
  • Loading branch information
DavisVaughan committed Jan 26, 2024
1 parent 07a6c3d commit 15256e9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/ark/src/lsp/diagnostics.rs
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ use crate::lsp::traits::rope::RopeExt;
use crate::r_task;

#[derive(Clone)]
pub struct DiagnosticContext<'a> {
struct DiagnosticContext<'a> {
/// The contents of the source document.
pub contents: &'a Rope,

Expand Down Expand Up @@ -235,7 +235,7 @@ fn check_known_document(backend: &Backend, uri: &Url) -> tower_lsp::jsonrpc::Res
});
}

pub fn generate_diagnostics(doc: &Document) -> Vec<Diagnostic> {
fn generate_diagnostics(doc: &Document) -> Vec<Diagnostic> {
let mut diagnostics = Vec::new();

{
Expand Down

0 comments on commit 15256e9

Please sign in to comment.