Skip to content

Commit 0aa5af5

Browse files
committed
Revise comment
1 parent 330c0e9 commit 0aa5af5

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

crates/ark/src/lsp/sources.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ use crate::lsp::main_loop::TokioUnboundedSender;
1616

1717
/// Handle source requests to provide R source files for an installed package
1818
///
19-
/// Implementations live outside of oak, oak is only in charge of ingesting the
20-
/// returned directory.
19+
/// Implemented as a trait so we can have a production level [OakSourceHandler]
20+
/// and a test level `TestSourceHandler`.
2121
pub(crate) trait SourceHandler: Send + Sync {
2222
fn handle(&self, request: &SourceRequest) -> SourceResponse;
2323
}

0 commit comments

Comments
 (0)