Skip to content

Commit fb96b98

Browse files
authored
Fix typo, refine wording in Usage.md (#8423)
`Avoiding specifying` -> `Avoid specifying` Also reordered words in this somewhat convoluted sentence. "provided by the library in the `module.modulemap`" could've been read as if the library provides something in such modulemap file. But in fact, "in the `module.modulemap`" is related to the first part of the sentence. Moving it there makes the sentence less ambiguous.
1 parent adc2535 commit fb96b98

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Documentation/Usage.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -226,8 +226,8 @@ The header file should look like this:
226226
#include <git2.h>
227227
```
228228

229-
**Note:** Avoiding specifying an absolute path to `git2.h` provided
230-
by the library in the `module.modulemap`. Doing so will break compatibility of
229+
**Note:** Avoid specifying an absolute path in the `module.modulemap` to `git2.h`
230+
header provided by the library. Doing so will break compatibility of
231231
your project between machines that may use a different file system layout or
232232
install libraries to different paths.
233233

0 commit comments

Comments
 (0)