Minor changes
This commit is contained in:
@@ -34,6 +34,6 @@ jobs:
|
|||||||
cp -r target/doc ./docs
|
cp -r target/doc ./docs
|
||||||
cp index.html docs/
|
cp index.html docs/
|
||||||
|
|
||||||
git commit -am "Generated docs from github-actions[bot]"
|
git commit -am "Auto Generated Documentation"
|
||||||
git add docs
|
git add docs
|
||||||
git push
|
git push
|
||||||
|
|||||||
+4
-4
@@ -1,5 +1,4 @@
|
|||||||
//! Example program with default formatting
|
//! Example program with default formatting
|
||||||
//! Source [ntext-rs](https://github.com/uttarayan21/ntext-rs)
|
|
||||||
//!```rust
|
//!```rust
|
||||||
//!extern crate ntext;
|
//!extern crate ntext;
|
||||||
//!use ntext::to_text;
|
//!use ntext::to_text;
|
||||||
@@ -18,8 +17,9 @@
|
|||||||
//! assert_eq!(to_text!(34123, &Formatting::with_seperator("#").capitalize()),"Thirty#Four#Thousand#One#Hundred#Twenty#Three");
|
//! assert_eq!(to_text!(34123, &Formatting::with_seperator("#").capitalize()),"Thirty#Four#Thousand#One#Hundred#Twenty#Three");
|
||||||
//!}
|
//!}
|
||||||
//!```
|
//!```
|
||||||
//! This macro will also return an empty string on input zero
|
//! This macro will also return an empty string on input zero
|
||||||
//! You can also create the Formatting struct manually
|
//! You can also create the Formatting struct manually
|
||||||
|
//! Source [ntext-rs](https://github.com/uttarayan21/ntext-rs)
|
||||||
|
|
||||||
mod formatting;
|
mod formatting;
|
||||||
mod numtext;
|
mod numtext;
|
||||||
|
|||||||
Reference in New Issue
Block a user