Skip to content

make Cmplx fields public #13248

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 2, 2014
Merged

make Cmplx fields public #13248

merged 1 commit into from
Apr 2, 2014

Conversation

tedhorst
Copy link
Contributor

@tedhorst tedhorst commented Apr 1, 2014

No description provided.

@bors bors closed this Apr 2, 2014
@bors bors merged commit a8308fb into rust-lang:master Apr 2, 2014
matthiaskrgr pushed a commit to matthiaskrgr/rust that referenced this pull request Oct 11, 2022
Feature: Add assist to unwrap tuple declarations

> Implement rust-lang#12923 for only tuples.
>
> Does not implement unwrapping for structs, as mentioned in the issue.

Add assist to unwrap tuples declarations to separate declarations.

```rust
fn main() {
	$0let (foo, bar, baz) = (1.0, "example", String::new())
}
```

becomes:

```rust
fn main() {
	let foo = 1.0;
	let bar = "example";
	let baz = String::new();
}
```

## Changelog

### Feature

- Added assist to unwrap tuple declarations.
Jarcho pushed a commit to Jarcho/rust that referenced this pull request Aug 24, 2024
…xFrednet

Remove `find_format_arg_expr` AST fallback

If the function fails where it shouldn't we can fix that directly, but the fallback path is untested as I'm not aware of a case where it would fail

changelog: none
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants