Skip to content

Commit d663c71

Browse files
committed
Remove documentation on compile-time cost
I'm unsure if this is really true; the compile-time cost of using this is potentially quite high, since we have to make the compiler convert UTF-8 to UTF-16!
1 parent 4e859ff commit d663c71

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

objc2-foundation/src/__string_macro.rs

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -246,14 +246,6 @@ const fn decode_utf8(s: &[u8], i: usize) -> (usize, u32) {
246246
/// where possible.
247247
///
248248
/// [`NSString::from_str`]: crate::NSString::from_str
249-
///
250-
///
251-
/// # Compile-time Cost
252-
///
253-
/// Minimal.
254-
///
255-
/// This is implemented entirely with `const` evaluation. It is not a
256-
/// procedural macro that requires dependencies for parsing.
257249
#[macro_export]
258250
macro_rules! ns_string {
259251
($s:expr) => {{

0 commit comments

Comments
 (0)