-
Arrays and maps cannot be encoded within structs, but other structs can as long as they are singular.
Encodes fine
```golang
type Name struct {
First string
Last string
}
type User struct …
-
**Describe the bug**
Similar to #1260, except for struct instantiations. You can't comment on a member initialization as the formatter removes it.
**To Reproduce**
```
struct Foo {
// this is a c…
-
A common idiom in Go is creating empty structs instead of using other constructs, like:
- `x := Y{}`, instead of `var x Y`
- `x := &Y{}`, instead of `x := new(Y)`
But this linter complains about …
-
Please add a tag to all struct definition
like:
/// Thread Control Block
typedef struct **osRtxThread_s** {
uint8_t id; ///< Object Identifier
uint8_t …
-
### Is your feature request related to a problem? Please describe.
I am currently using this crate to implement a pre-authorization payment which requires some tweaking of the `createPaymentIntent` …
-
## Is your feature request related to a problem? Please describe.
Ruby 3.2 enables keyword_init on structs without specifying it. https://www.ruby-lang.org/en/news/2022/12/25/ruby-3-2-0-released/
…
-
This js works
```js
#!/usr/bin/env node
const {AbiCoder} = require("ethers");
dataHex = "000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000…
-
### Describe the issue
the documentation about FieldsAre wrote:
```cpp
struct MyStruct {
int value = 42;
std::string greeting = "aloha";
};
MyStruct s;
EXPECT_THAT(s, FieldsAre(42, "aloha"));
```…
-
I am trying to implement a P4 program using PSA for bmv2. In the program, I wanted to use registers where a structure representing a flow would serve as the index. In the program, I'm trying to read t…
-
### Describe the issue or suggestion
The documentation does not have the new C#13 anti-constraint `allows ref struct` on any of the places it is used, like the Action/Func types, IEnumerable, IEquata…