Skip to content

Commit

Permalink
tsgen localnames, primitives and type_params for union and struct
Browse files Browse the repository at this point in the history
        underscore before unused type params
        fix: compiler warnings
  • Loading branch information
millergarym authored and timbod7 committed Mar 23, 2023
1 parent d3fee87 commit 0e56f2a
Show file tree
Hide file tree
Showing 7 changed files with 689 additions and 174 deletions.
2 changes: 1 addition & 1 deletion rust/compiler/src/adlrt/custom/sys/types/maybe.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ use std::result;
// with ADL compatible serialization

#[derive(Clone,Debug,Eq,Hash,PartialEq)]
pub struct Maybe<T> (Option<T>);
pub struct Maybe<T> (pub Option<T>);

impl<T> Maybe<T> {
pub fn nothing() -> Maybe<T> {
Expand Down
Loading

0 comments on commit 0e56f2a

Please sign in to comment.