Skip to content

Commit

Permalink
nixd/typos: fix handler
Browse files Browse the repository at this point in the history
  • Loading branch information
Freed-Wu committed Sep 16, 2024
1 parent f6ca743 commit c1b7000
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nixd/lspserver/include/lspserver/Connection.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ enum class JSONStreamStyle {
};

/// Parsed & classfied messages are dispatched to this handler class
/// LSP Servers should inherit from this hanlder and dispatch
/// LSP Servers should inherit from this handler and dispatch
/// notify/call/reply to implementations.
class MessageHandler {
public:
Expand Down Expand Up @@ -60,7 +60,7 @@ class InboundPort {
/// Dispatch messages to on{Notify,Call,Reply} ( \p Handlers)
/// Return values should be forwarded from \p Handlers
/// i.e. returns true to keep processing messages, or false to shut down.
bool dispatch(llvm::json::Value Message, MessageHandler &Hanlder);
bool dispatch(llvm::json::Value Message, MessageHandler &Handler);

void loop(MessageHandler &Handler);
};
Expand Down

0 comments on commit c1b7000

Please sign in to comment.