diff options
| author | Cody <cody@codyq.dev> | 2023-04-14 04:50:53 -0500 |
|---|---|---|
| committer | Cody <cody@codyq.dev> | 2023-04-14 04:50:53 -0500 |
| commit | 5dbfa844a37cf00125db891d095d94620ba24879 (patch) | |
| tree | 441c8408ae873e6926e8864d353e71fdad809b4e /crates/sloth_vm/src/value.rs | |
| parent | 97b7cd10d2bec408cc237e13c61562c810d8fd29 (diff) | |
| download | sloth-5dbfa844a37cf00125db891d095d94620ba24879.tar.gz | |
awful
Diffstat (limited to 'crates/sloth_vm/src/value.rs')
| -rw-r--r-- | crates/sloth_vm/src/value.rs | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/crates/sloth_vm/src/value.rs b/crates/sloth_vm/src/value.rs index f149c0e..4450b5a 100644 --- a/crates/sloth_vm/src/value.rs +++ b/crates/sloth_vm/src/value.rs @@ -35,14 +35,14 @@ pub enum ObjectType { } pub struct Function { - pub(crate) name: Option<String>, - pub(crate) chunk: Chunk, - pub(crate) arity: u8, - pub(crate) returns_value: bool, + pub name: Option<String>, + pub chunk: Chunk, + pub arity: u8, + pub returns_value: bool, } impl Function { - pub(crate) fn root(chunk: Chunk) -> Self { + pub fn root(chunk: Chunk) -> Self { Self { name: None, chunk, |
