Compare commits
No commits in common. "7ca14986f9a2b6edbc1abd094c2662a2aca4bf96" and "3beff945a4b7d2a9f3e48a1430c46f928c212dcd" have entirely different histories.
7ca14986f9
...
3beff945a4
|
@ -1,5 +1,5 @@
|
|||
[package]
|
||||
name = "temp"
|
||||
name = "templest"
|
||||
version = "1.0.0"
|
||||
edition = "2021"
|
||||
description = "A procedural macro to manage temporary variables"
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
A single procedural macro to make temporary variables easier.
|
||||
Code example:
|
||||
```rs
|
||||
use templest::temp;
|
||||
use temp::temp;
|
||||
|
||||
fn main() {
|
||||
let temp!() = 10;
|
||||
|
@ -13,7 +13,7 @@ fn main() {
|
|||
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.
|
||||
```rs
|
||||
use templest::temp;
|
||||
use temp::temp;
|
||||
|
||||
fn main() {
|
||||
let temp!() = 10;
|
||||
|
|
Loading…
Reference in a new issue