From d97c1c14b7f62fffc1ce54d4ff3354a5ee21743f Mon Sep 17 00:00:00 2001 From: Zuhaitz Méndez Fernández de Aránguiz Date: Tue, 27 Jan 2026 10:43:05 +0000 Subject: Fix segfault caused in 'dfs.zc' --- docs/std/vec.md | 1 + 1 file changed, 1 insertion(+) (limited to 'docs') diff --git a/docs/std/vec.md b/docs/std/vec.md index 7bc7c05..525e179 100644 --- a/docs/std/vec.md +++ b/docs/std/vec.md @@ -63,6 +63,7 @@ struct Vec { | Method | Signature | Description | | :--- | :--- | :--- | | **get** | `get(self, idx: usize) -> T` | Returns a copy of the element at `idx`. Panics if out of bounds. | +| **get_ref** | `get_ref(self, idx: usize) -> T*` | Returns a pointer to the element at `idx`. Panics if out of bounds. Useful for avoiding copies. | | **set** | `set(self, idx: usize, item: T)` | Overwrites the element at `idx`. Panics if out of bounds. | | **first** | `first(self) -> T` | Returns a copy of the first element. Panics if empty. | | **last** | `last(self) -> T` | Returns a copy of the last element. Panics if empty. | -- cgit v1.2.3