summaryrefslogtreecommitdiff
path: root/rust/src/function.rs
diff options
context:
space:
mode:
authorMason Reed <mason@vector35.com>2025-02-14 23:36:24 -0500
committerMason Reed <mason@vector35.com>2025-02-24 20:08:01 -0500
commite36dcc8d4ea833d0731cde78bd65f2ca7e030a0d (patch)
treef250b14af0d7e13795234e444ddceb1be2ab8fda /rust/src/function.rs
parenta87f4888eddf804baed4df3de3ac81d737d78ed3 (diff)
Add `BinaryViewExt::comment_at` and `BinaryViewExt::set_comment_at`
How did we not have this before?
Diffstat (limited to 'rust/src/function.rs')
-rw-r--r--rust/src/function.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/rust/src/function.rs b/rust/src/function.rs
index b438520a..66f71e5f 100644
--- a/rust/src/function.rs
+++ b/rust/src/function.rs
@@ -2768,6 +2768,7 @@ impl Default for HighlightColor {
}
}
+// TODO: Move this out of function, so we can use it in the binary view
// NOTE only exists as Array<Comments>, cant be owned
#[derive(Clone, Debug, Hash, Eq, PartialEq)]
pub struct Comment {