Skip to content

Commit c8b24c4

Browse files
committed
update docs and fix link
1 parent efeffe7 commit c8b24c4

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/tree.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,9 @@ impl<'a, T: ToJsonTreeValue> JsonTree<'a, T> {
8383
/// You may also call [`render_ctx.render_default(ui)`](crate::render::DefaultRender) on this argument
8484
/// (or on any of the render contexts contained within its enum variants) to render as normal.
8585
///
86-
/// See [`examples/demo.rs`](https://github.com/dmackdev/egui_json_tree/blob/master/examples/demo.rs)
87-
/// for detailed examples and use cases.
86+
/// See [`copy_to_clipboard.rs`](https://github.com/dmackdev/egui_json_tree/blob/master/examples/demo/src/apps/copy_to_clipboard.rs)
87+
/// and [`editor.rs`](https://github.com/dmackdev/egui_json_tree/blob/master/examples/demo/src/apps/editor.rs)
88+
/// from the demo for detailed examples and usage.
8889
pub fn on_render(
8990
mut self,
9091
render_hook: impl FnMut(&mut Ui, RenderContext<'a, '_, T>) + 'a,

0 commit comments

Comments
 (0)