You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 6f8ecae
Browse filesBrowse the repository at this point in the historyBrowse files
Changes the format of the Rust side of type rules to:
```rust
fn t<digit>() -> TYPE {
return DEFAULT-INITIALIZER;
}
```
Actual changes to rules:
- The initializer for the unsafe rules `t1`, `t2`, and `t3` in `fstream`
was changed from `::std::fs::File::open("")?` to
`::std::fs::File::open("").unwrap()`. This change was made because the
`?` operator requires the function to return a value of type `Result` or
`Option`. Additionally, other rules for file-related types already use
`::std::fs::File::open("").unwrap()` as an initializer (for example,
rule `t1` in `iostream`).
- Added a missing generic parameter to the refcount rules `f10` and
`f11` in `unique_ptr`. These rules were relying on the struct defined at
the top of the type.
0 commit comments