Skip to content

Commit 3d3daa7

Browse files
committed
refactor(TasmObject)!: Slim down public API
The function `TasmObject::get_field_start_with_jump_distance` is intended for internal use only. Mark it as such. The function might be renamed or removed without prior warning in a future update.
1 parent 64f4d3d commit 3d3daa7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tasm-lib/src/structure/tasm_object.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,7 @@ pub trait TasmStruct: TasmObject {
106106
/// This function is used internally for the derive macro. You probably want to use
107107
/// [`get_field`](TasmObject::get_field) or
108108
/// [`get_field_with_size`](TasmObject::get_field_with_size) instead.
109+
#[doc(hidden)]
109110
fn get_field_start_with_jump_distance(field_name: &str) -> Vec<LabelledInstruction>;
110111
}
111112

0 commit comments

Comments
 (0)