Skip to content

Commit 7fca8af

Browse files
authored
Merge pull request #33 from Paqura/fix/fix-typo
fix: fix typos
2 parents 23205ac + 1c2daf3 commit 7fca8af

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

src/config.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,8 +93,8 @@ pub struct Config {
9393
* @Article Configuration
9494
*
9595
* Fundoc will read all the configuration parameters from the `fundoc.json` config file
96-
* which should be placed into the working directory of the programm's proccess (generally, it's a root of a
97-
* poject)
96+
* which should be placed into the working directory of the programm's process (generally, it's a root of a
97+
* project)
9898
*/
9999
pub fn read_config(path: Option<&str>) -> Option<Config> {
100100
let mut config: Option<Config> = None;

src/parser.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ enum Keyword {
3333
/**
3434
* @Article Syntax
3535
*
36-
* `@Article <Article name>` is for marking documentation sections to tell in which articale this section should
36+
* `@Article <Article name>` is for marking documentation sections to tell in which article this section should
3737
* be merged. You can use `markdown` syntax in documentation sections.
3838
*
3939
* Example:
@@ -52,7 +52,7 @@ enum Keyword {
5252
Article,
5353
/**
5454
* @Article Syntax
55-
* `@FileArtcile` allows you to mark a whole file is a source of documentation for a specified
55+
* `@FileArticle` allows you to mark a whole file is a source of documentation for a specified
5656
* article.
5757
*
5858
* Example:
@@ -191,7 +191,7 @@ impl Parser {
191191
/**
192192
* @Article Configuration
193193
*
194-
* You can diable parsing for a part of your file or a whole file by adding this comment: `fundoc-disable`.
194+
* You can disable parsing for a part of your file or a whole file by adding this comment: `fundoc-disable`.
195195
* If you wan't to turn fundoc on few lines below just add this comment: `fundoc-enable`.
196196
*
197197
* In case when you don't write the enable-comment all text from disable comment until the end of
@@ -556,7 +556,7 @@ pub fn test () {}
556556
}
557557

558558
#[test]
559-
fn parse_documentation_with_identation_before_comments() {
559+
fn parse_documentation_with_indentation_before_comments() {
560560
let mut parser = Parser::new(get_test_config());
561561
let file_content = "
562562
/**

0 commit comments

Comments
 (0)