This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use box::BoxTrait; | |
#[derive(Drop)] | |
struct MyStruct { | |
a: Box<InnerStruct>, | |
b: felt252, | |
c: felt252 | |
} | |
#[derive(Copy, Drop)] | |
struct InnerStruct { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// fn main() { | |
// let mut counter = 0; | |
// loop { | |
// if counter == 20 { | |
// break; | |
// } | |
// counter += 1; | |
// }; | |
// } |