Inline SmallCStr::deref
This commit is contained in:
parent
b4bf56cd66
commit
ea0a31ff0c
@ -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()
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user