Skip to content

Commit 1f12d4b

Browse files
committed
zephyr: object: Fix bad doc link
The `new` method on `ZephyrObject` changed to `new_raw`, but this doc comment was not updated. Fix. Signed-off-by: David Brown <[email protected]>
1 parent b5729b9 commit 1f12d4b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

zephyr/src/object.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ pub trait ObjectInit<T> {
231231
/// Initialize the object.
232232
///
233233
/// This is called upon first use. The address given may (and generally will) be different than
234-
/// the initial address given to the `setup` call in the [`ZephyrObject::new`] constructor.
234+
/// the initial address given to the `setup` call in the [`ZephyrObject::new_raw`] constructor.
235235
/// After this is called, all subsequent calls to [`ZephyrObject::get`] will return the same
236236
/// address, or panic.
237237
fn init(item: *mut T);

0 commit comments

Comments
 (0)