Minor changes

This commit is contained in:
Uttarayan Mondal
2021-03-10 01:01:56 +05:30
parent d53888b170
commit 5bd775146f
2 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -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
View File
@@ -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;