diff options
Diffstat (limited to 'rust/src/external_library.rs')
| -rw-r--r-- | rust/src/external_library.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rust/src/external_library.rs b/rust/src/external_library.rs index 4f6e0e84..148fd030 100644 --- a/rust/src/external_library.rs +++ b/rust/src/external_library.rs @@ -166,7 +166,7 @@ impl ExternalLocation { /// Set the symbol pointed to by this ExternalLocation. /// ExternalLocations must have a valid target address and/or symbol set. - pub fn set_target_symbol<S: IntoCStr>(&self, symbol: Option<S>) -> bool { + pub fn set_target_symbol(&self, symbol: Option<&str>) -> bool { match symbol { Some(sym) => { let raw_sym = sym.to_cstr(); |
