]> git.lizzy.rs Git - rust.git/blobdiff - compiler/rustc_data_structures/src/small_c_str.rs
Rollup merge of #94022 - jongiddy:cow-into-owned-docs, r=Dylan-DPC
[rust.git] / compiler / rustc_data_structures / src / small_c_str.rs
index cd9025245628e628c1f66b3e712eef03777e4162..3a8ab8ff9911e4a34d2b9d01027dec1d328c7b01 100644 (file)
@@ -62,6 +62,7 @@ pub fn spilled(&self) -> bool {
 impl Deref for SmallCStr {
     type Target = ffi::CStr;
 
+    #[inline]
     fn deref(&self) -> &ffi::CStr {
         self.as_c_str()
     }