Inline SmallCStr::deref
This commit is contained in:
@@ -62,6 +62,7 @@ impl SmallCStr {
|
||||
impl Deref for SmallCStr {
|
||||
type Target = ffi::CStr;
|
||||
|
||||
#[inline]
|
||||
fn deref(&self) -> &ffi::CStr {
|
||||
self.as_c_str()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user