Skip to content

Commit 78601ec

Browse files
committed
Remove accidental escape hatch
1 parent 32b53ed commit 78601ec

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

llama-cpp-2/src/context.rs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -189,11 +189,6 @@ impl<'model> LlamaContext<'model> {
189189
let timings = unsafe { llama_cpp_sys_2::llama_get_timings(self.context.as_ptr()) };
190190
LlamaTimings { timings }
191191
}
192-
193-
/// Returns a reference to the raw [llama_cpp_sys_2::llama_context] pointer.
194-
pub fn raw_ctx(&self) -> &NonNull<llama_cpp_sys_2::llama_context> {
195-
&self.context
196-
}
197192
}
198193

199194
impl Drop for LlamaContext<'_> {

0 commit comments

Comments
 (0)