From 5dbfa844a37cf00125db891d095d94620ba24879 Mon Sep 17 00:00:00 2001 From: Cody Date: Fri, 14 Apr 2023 04:50:53 -0500 Subject: awful --- crates/sloth_vm/src/value.rs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'crates/sloth_vm/src/value.rs') 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, - pub(crate) chunk: Chunk, - pub(crate) arity: u8, - pub(crate) returns_value: bool, + pub name: Option, + 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, -- cgit v1.2.3