aboutsummaryrefslogtreecommitdiff
path: root/xtask/src
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2020-02-27 10:07:51 +0000
committerGitHub <[email protected]>2020-02-27 10:07:51 +0000
commite4a28312c417c070add927a16483b82438fb7e11 (patch)
tree19c07b9cbc4e1e895f32f09ecdf53b5fb0983744 /xtask/src
parent0639250d5ae78b2a1d0c6949ae91f098bfb35913 (diff)
parent364162f8759a407a06b360e383de5404875e6000 (diff)
Merge #3342
3342: Some docs r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
Diffstat (limited to 'xtask/src')
-rw-r--r--xtask/src/ast_src.rs2
-rw-r--r--xtask/src/codegen/gen_assists_docs.rs2
-rw-r--r--xtask/src/lib.rs4
-rw-r--r--xtask/src/not_bash.rs1
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
1pub(crate) struct KindsSrc<'a> { 3pub(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
1use std::{fs, path::Path}; 3use std::{fs, path::Path};
2 4
3use crate::{ 5use 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
3pub mod not_bash; 5pub mod not_bash;
4pub mod install; 6pub 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
2use std::{ 3use std::{
3 cell::RefCell, 4 cell::RefCell,
4 env, 5 env,