diff --git a/ctru-sys/src/bin/docstring-to-rustdoc.rs b/ctru-sys/src/bin/docstring-to-rustdoc.rs index f7b1b72..b7c7cb9 100644 --- a/ctru-sys/src/bin/docstring-to-rustdoc.rs +++ b/ctru-sys/src/bin/docstring-to-rustdoc.rs @@ -2,22 +2,22 @@ //! //! # Usage //! -//! ``cargo run --bin docstring-to-rustdoc -- [location of the bindings.rs]`` -//! Example: ``cargo run --bin docstring-to-rustdoc -- src/bindings.rs`` +//! `cargo run --bin docstring-to-rustdoc -- [location of the bindings.rs]` +//! Example: `cargo run --bin docstring-to-rustdoc -- src/bindings.rs` //! //! # Transformations //! //! The following are _completely_ removed, but _its contents are kept_: -//! * ``@brief`` -//! * ``@ref`` -//! * ``@note`` -//! * ``@return`` -//! * ``@sa`` -//! * ``<`` -//! * ``[out]`` and ``[in]`` +//! * `@brief` +//! * `@ref` +//! * `@note` +//! * `@return` +//! * `@sa` +//! * `<` +//! * `[out]` and `[in]` //! //! The followings are _partially_ transformed to Rustdoc format: -//! * ``@param`` +//! * `@param` use std::{env, fs, io}; use std::path::Path;