aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2020-02-27 10:07:26 +0000
committerAleksey Kladov <[email protected]>2020-02-27 10:07:26 +0000
commit364162f8759a407a06b360e383de5404875e6000 (patch)
tree19c07b9cbc4e1e895f32f09ecdf53b5fb0983744
parent520b0c8faf62652e56c9ce3696b4100354e03dc5 (diff)
Some docs
-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,