Skip to content

Commit 22e5338

Browse files
committed
fix typos
1 parent e67f5b9 commit 22e5338

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • crates/cpp_ls/src/handlers/switch_source_header

‎crates/cpp_ls/src/handlers/switch_source_header/mod.rs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
//! everywhere. A **header** prefers the source extension of its own language family (a `.h` read as C answers `.c` before
2626
//! `.cpp`), and a module interface prefers C++ sources, because a module interface is C++ by definition.
2727
//! 2. **An include**: a header's source is a file that `#include`s it, and a source's header is one it includes — which is
28-
//! what finds a pair whose names are not twins (`detail.cpp` includng `all.h`). A module interface is reached the same
28+
//! what finds a pair whose names are not twins (`detail.cpp` including `all.h`). A module interface is reached the same
2929
//! way: the implementation unit writes `import foo;`, which the directive summary records.
3030
//! 3. **Anything the project lists**, so a pair in another directory is still reachable.
3131
//! 4. **The file a header's implementation would have**, when nothing exists yet: `<stem>.c` for a header read as C and

0 commit comments

Comments
 (0)