Richard Schneeman on Nostr: I want to provide a format! like macro that applies a specific formatting to whatever ...
I want to provide a format! like macro that applies a specific formatting to whatever **values** are provided to the macro. For example
```
format!("Meet {}", dog)
// => format!("Meet {}", custom_fmt(dog))
format!("Meet {dog}")
// => format!("Meet {}", custom_fmt(dog))
format!("Meet {dog}", dog = animal)
// => format!("Meet {dog}", dog = custom_fmt(animal))
```
It seems like this shouldn't be a novel desire, but I'm not seeing a great path forward... #rustlang
```
format!("Meet {}", dog)
// => format!("Meet {}", custom_fmt(dog))
format!("Meet {dog}")
// => format!("Meet {}", custom_fmt(dog))
format!("Meet {dog}", dog = animal)
// => format!("Meet {dog}", dog = custom_fmt(animal))
```
It seems like this shouldn't be a novel desire, but I'm not seeing a great path forward... #rustlang