blob: bbf6a4745961f3ebc7669abeca1b89289aea65c5 (
plain)
1
2
3
4
5
6
7
8
|
If the data doesn't change it's possible to return a literal, which is static:
```rust
fn return() -> &'static str {
"yest"
}
```
not sure what benefit this offers though, we could just use a const?
|