about summary refs log tree commit diff
path: root/library/core/src/unicode
diff options
context:
space:
mode:
authorBruce A. MacNaughton <bruce.macnaughton@contrastsecurity.com>2022-07-20 16:13:54 -0700
committerBruce A. MacNaughton <bruce.macnaughton@contrastsecurity.com>2022-07-20 16:13:54 -0700
commit5d048eb69dc73aa6307f07ad6a21eee5e3e64c9f (patch)
tree6c929620bba27d0f5e66cb3f1a219a2e21cc8d17 /library/core/src/unicode
parente5d4de39128205eb322c1e38219c0969c9af625b (diff)
add #inline
Diffstat (limited to 'library/core/src/unicode')
-rw-r--r--library/core/src/unicode/unicode_data.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/library/core/src/unicode/unicode_data.rs b/library/core/src/unicode/unicode_data.rs
index eb9334bdc6d..c1eff3a36e6 100644
--- a/library/core/src/unicode/unicode_data.rs
+++ b/library/core/src/unicode/unicode_data.rs
@@ -555,6 +555,7 @@ pub mod white_space {
         0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
         0, 0, 0, 0, 0, 0, 0, 0, 0,
     ];
+    #[inline]
     pub fn lookup(c: char) -> bool {
         match c as u32 >> 8 {
             0 => WHITESPACE_MAP[c as usize & 0xff] & 1 != 0,