diff options
Diffstat (limited to 'rust/src/headless.rs')
| -rw-r--r-- | rust/src/headless.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rust/src/headless.rs b/rust/src/headless.rs index c54e3ec9..0ce24cb3 100644 --- a/rust/src/headless.rs +++ b/rust/src/headless.rs @@ -90,7 +90,7 @@ pub fn shutdown() { /// Prelued-postlued helper function (calls [`init`] and [`shutdown`] for you) /// ```rust /// binaryninja::headless::script_helper(|| { -/// binaryninja::open_view("/bin/cat") +/// binaryninja::load("/bin/cat") /// .expect("Couldn't open `/bin/cat`") /// .iter() /// .for_each(|func| println!(" `{}`", func.symbol().full_name())); |
