about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJake Heinz <jh@discordapp.com>2023-05-02 06:48:29 +0000
committerJake Heinz <jh@discordapp.com>2023-05-02 06:48:29 +0000
commitb9007a26a08063e45ca99eb5e208635e9a7f1c01 (patch)
treebe4c3f750221cd6d0ae3501c44ac97a133c07de4
parentf4d2044528a23d4cf73a6b5787062fa79566b3cb (diff)
downloadrust-b9007a26a08063e45ca99eb5e208635e9a7f1c01.tar.gz
rust-b9007a26a08063e45ca99eb5e208635e9a7f1c01.zip
add module docs
-rw-r--r--crates/rust-analyzer/src/handlers/notification.rs3
-rw-r--r--crates/rust-analyzer/src/handlers/request.rs3
2 files changed, 6 insertions, 0 deletions
diff --git a/crates/rust-analyzer/src/handlers/notification.rs b/crates/rust-analyzer/src/handlers/notification.rs
index 2687a4596dd..a734f483010 100644
--- a/crates/rust-analyzer/src/handlers/notification.rs
+++ b/crates/rust-analyzer/src/handlers/notification.rs
@@ -1,3 +1,6 @@
+//! This module is responsible for implementing handlers for Language Server
+//! Protocol. This module specifically handles notifications.
+
 use std::{ops::Deref, sync::Arc};
 
 use itertools::Itertools;
diff --git a/crates/rust-analyzer/src/handlers/request.rs b/crates/rust-analyzer/src/handlers/request.rs
index a8a14d0d7be..03e08d9cdfc 100644
--- a/crates/rust-analyzer/src/handlers/request.rs
+++ b/crates/rust-analyzer/src/handlers/request.rs
@@ -1,3 +1,6 @@
+//! This module is responsible for implementing handlers for Language Server
+//! Protocol. This module specifically handles requests.
+
 use std::{
     io::Write as _,
     process::{self, Stdio},