diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2020-02-27 10:07:51 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2020-02-27 10:07:51 +0000 |
commit | e4a28312c417c070add927a16483b82438fb7e11 (patch) | |
tree | 19c07b9cbc4e1e895f32f09ecdf53b5fb0983744 | |
parent | 0639250d5ae78b2a1d0c6949ae91f098bfb35913 (diff) | |
parent | 364162f8759a407a06b360e383de5404875e6000 (diff) |
Merge #3342
3342: Some docs r=matklad a=matklad
bors r+
🤖
Co-authored-by: Aleksey Kladov <[email protected]>
-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, |