Skip to content

Commit d841c78

Browse files
committed
Add missing inline
1 parent f206445 commit d841c78

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

toml-span/src/de_helpers.rs

+1
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,7 @@ impl<'de> TableHelper<'de> {
136136
/// Note that if the key exists but deserialization fails, an error will be
137137
/// appended and if [`Self::finalize`] is called it will return that error
138138
/// along with any others that occurred
139+
#[inline]
139140
pub fn optional<T: Deserialize<'de>>(&mut self, name: &'static str) -> Option<T> {
140141
self.optional_s(name).map(|v| v.value)
141142
}

0 commit comments

Comments
 (0)