diff options
| author | Mason Reed <mason@vector35.com> | 2025-05-12 12:06:22 -0400 |
|---|---|---|
| committer | Mason Reed <35282038+emesare@users.noreply.github.com> | 2025-05-12 17:45:24 -0400 |
| commit | d5bac712c9fa269aaeb016648116d3147edf3855 (patch) | |
| tree | 3fe6030d2576883b1762578bcd92ea8b450bf50a /rust/src/file_metadata.rs | |
| parent | 3b14d1605cf9ea638a0d058911a8c1e233a9f70d (diff) | |
[Rust] Misc cleanup
Diffstat (limited to 'rust/src/file_metadata.rs')
| -rw-r--r-- | rust/src/file_metadata.rs | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/rust/src/file_metadata.rs b/rust/src/file_metadata.rs index 56c8a9e9..ed859775 100644 --- a/rust/src/file_metadata.rs +++ b/rust/src/file_metadata.rs @@ -121,8 +121,8 @@ impl FileMetadata { /// NOTE: This is **NOT** thread safe, if you are holding any locks that might be held by both the main thread /// and the thread executing this function, you can deadlock. You should also never call this function /// on multiple threads at a time. See the following issues: - /// - https://github.com/Vector35/binaryninja-api/issues/6289 - /// - https://github.com/Vector35/binaryninja-api/issues/6325 + /// - <https://github.com/Vector35/binaryninja-api/issues/6289> + /// - <https://github.com/Vector35/binaryninja-api/issues/6325> pub fn run_undoable_transaction<F: FnOnce() -> Result<T, E>, T, E>( &self, func: F, @@ -146,8 +146,8 @@ impl FileMetadata { /// NOTE: This is **NOT** thread safe, if you are holding any locks that might be held by both the main thread /// and the thread executing this function, you can deadlock. You should also never call this function /// on multiple threads at a time. See the following issues: - /// - https://github.com/Vector35/binaryninja-api/issues/6289 - /// - https://github.com/Vector35/binaryninja-api/issues/6325 + /// - <https://github.com/Vector35/binaryninja-api/issues/6289> + /// - <https://github.com/Vector35/binaryninja-api/issues/6325> pub fn begin_undo_actions(&self, anonymous_allowed: bool) -> String { unsafe { BnString::into_string(BNBeginUndoActions(self.handle, anonymous_allowed)) } } @@ -157,8 +157,8 @@ impl FileMetadata { /// NOTE: This is **NOT** thread safe, if you are holding any locks that might be held by both the main thread /// and the thread executing this function, you can deadlock. You should also never call this function /// on multiple threads at a time. See the following issues: - /// - https://github.com/Vector35/binaryninja-api/issues/6289 - /// - https://github.com/Vector35/binaryninja-api/issues/6325 + /// - <https://github.com/Vector35/binaryninja-api/issues/6289> + /// - <https://github.com/Vector35/binaryninja-api/issues/6325> pub fn commit_undo_actions(&self, id: &str) { let id = id.to_cstr(); unsafe { @@ -171,8 +171,8 @@ impl FileMetadata { /// NOTE: This is **NOT** thread safe, if you are holding any locks that might be held by both the main thread /// and the thread executing this function, you can deadlock. You should also never call this function /// on multiple threads at a time. See the following issues: - /// - https://github.com/Vector35/binaryninja-api/issues/6289 - /// - https://github.com/Vector35/binaryninja-api/issues/6325 + /// - <https://github.com/Vector35/binaryninja-api/issues/6289> + /// - <https://github.com/Vector35/binaryninja-api/issues/6325> pub fn revert_undo_actions(&self, id: &str) { let id = id.to_cstr(); unsafe { |
