We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 426d8ee + 427968f commit d077b71Copy full SHA for d077b71
1 file changed
src/object_vec.rs
@@ -53,7 +53,7 @@ impl<'ctx> ObjectAsVec<'ctx> {
53
/// methods instead. This could be a problem with feature unification, when one crate uses it
54
/// as `&str` and another uses it as `Cow<str>`, both will get `Cow<str>`
55
#[inline]
56
- pub fn as_vec(&self) -> &Vec<(KeyStrType, Value<'ctx>)> {
+ pub fn as_vec(&self) -> &Vec<(KeyStrType<'ctx>, Value<'ctx>)> {
57
&self.0
58
}
59
0 commit comments