summaryrefslogtreecommitdiff
path: root/rust/src/disassembly.rs
diff options
context:
space:
mode:
Diffstat (limited to 'rust/src/disassembly.rs')
-rw-r--r--rust/src/disassembly.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/rust/src/disassembly.rs b/rust/src/disassembly.rs
index 396bcfcc..973fd57c 100644
--- a/rust/src/disassembly.rs
+++ b/rust/src/disassembly.rs
@@ -1242,13 +1242,13 @@ impl DisassemblyTextRenderer {
unsafe { Array::new(tokens, count, ()) }
}
- pub fn wrap_comment<S1: IntoCStr, S2: IntoCStr, S3: IntoCStr>(
+ pub fn wrap_comment(
&self,
cur_line: DisassemblyTextLine,
- comment: S1,
+ comment: &str,
has_auto_annotations: bool,
- leading_spaces: S2,
- indent_spaces: S3,
+ leading_spaces: &str,
+ indent_spaces: &str,
) -> Array<DisassemblyTextLine> {
let cur_line_raw = DisassemblyTextLine::into_raw(cur_line);
let comment_raw = comment.to_cstr();