Compare commits

..

3 commits

Author SHA1 Message Date
Goren Barak 7ca14986f9 added 1.0 2023-12-01 15:59:04 -05:00
Goren Barak f6a74d71d8 updated Cargo.toml 2023-12-01 15:58:41 -05:00
Goren Barak 3c20321aba Revert "Fixed README"
This reverts commit 3beff945a4.
2023-12-01 15:57:18 -05:00
2 changed files with 3 additions and 3 deletions

View file

@ -1,5 +1,5 @@
[package] [package]
name = "templest" name = "temp"
version = "1.0.0" version = "1.0.0"
edition = "2021" edition = "2021"
description = "A procedural macro to manage temporary variables" description = "A procedural macro to manage temporary variables"

View file

@ -2,7 +2,7 @@
A single procedural macro to make temporary variables easier. A single procedural macro to make temporary variables easier.
Code example: Code example:
```rs ```rs
use temp::temp; use templest::temp;
fn main() { fn main() {
let temp!() = 10; let temp!() = 10;
@ -13,7 +13,7 @@ fn main() {
This code example prints `10` to the console. This code example prints `10` to the console.
If we add a new temporary variable, after we define the first one as 10, and define that as 20, than 20 will be printed. If we add a new temporary variable, after we define the first one as 10, and define that as 20, than 20 will be printed.
```rs ```rs
use temp::temp; use templest::temp;
fn main() { fn main() {
let temp!() = 10; let temp!() = 10;