Example code:
```
fn opts() -> Option<String> {
let s: Option<String> = Some(String::new());
Some(s?) // this can just be "s"
}
```
|
||
|---|---|---|
| .. | ||
| src | ||
| Cargo.toml | ||
Example code:
```
fn opts() -> Option<String> {
let s: Option<String> = Some(String::new());
Some(s?) // this can just be "s"
}
```
|
||
|---|---|---|
| .. | ||
| src | ||
| Cargo.toml | ||