diff options
-rw-r--r-- | xtask/src/ast_src.rs | 2 | ||||
-rw-r--r-- | xtask/src/codegen/gen_assists_docs.rs | 2 | ||||
-rw-r--r-- | xtask/src/lib.rs | 4 | ||||
-rw-r--r-- | xtask/src/not_bash.rs | 1 |
4 files changed, 8 insertions, 1 deletions
diff --git a/xtask/src/ast_src.rs b/xtask/src/ast_src.rs index 2d9ae904b..98d8104e5 100644 --- a/xtask/src/ast_src.rs +++ b/xtask/src/ast_src.rs | |||
@@ -1,3 +1,5 @@ | |||
1 | //! Defines input for code generation process. | ||
2 | |||
1 | pub(crate) struct KindsSrc<'a> { | 3 | pub(crate) struct KindsSrc<'a> { |
2 | pub(crate) punct: &'a [(&'a str, &'a str)], | 4 | pub(crate) punct: &'a [(&'a str, &'a str)], |
3 | pub(crate) keywords: &'a [&'a str], | 5 | pub(crate) keywords: &'a [&'a str], |
diff --git a/xtask/src/codegen/gen_assists_docs.rs b/xtask/src/codegen/gen_assists_docs.rs index 697e830df..6da5ca89e 100644 --- a/xtask/src/codegen/gen_assists_docs.rs +++ b/xtask/src/codegen/gen_assists_docs.rs | |||
@@ -1,3 +1,5 @@ | |||
1 | //! Generates `assists.md` documentation. | ||
2 | |||
1 | use std::{fs, path::Path}; | 3 | use std::{fs, path::Path}; |
2 | 4 | ||
3 | use crate::{ | 5 | use crate::{ |
diff --git a/xtask/src/lib.rs b/xtask/src/lib.rs index 2bcd76d60..e5da726ac 100644 --- a/xtask/src/lib.rs +++ b/xtask/src/lib.rs | |||
@@ -1,4 +1,6 @@ | |||
1 | //! FIXME: write short doc here | 1 | //! Support library for `cargo xtask` command. |
2 | //! | ||
3 | //! See https://github.com/matklad/cargo-xtask/ | ||
2 | 4 | ||
3 | pub mod not_bash; | 5 | pub mod not_bash; |
4 | pub mod install; | 6 | pub mod install; |
diff --git a/xtask/src/not_bash.rs b/xtask/src/not_bash.rs index c49ad671d..40f706d9f 100644 --- a/xtask/src/not_bash.rs +++ b/xtask/src/not_bash.rs | |||
@@ -1,4 +1,5 @@ | |||
1 | //! A bad shell -- small cross platform module for writing glue code | 1 | //! A bad shell -- small cross platform module for writing glue code |
2 | |||
2 | use std::{ | 3 | use std::{ |
3 | cell::RefCell, | 4 | cell::RefCell, |
4 | env, | 5 | env, |