mirror of
https://github.com/nushell/nushell.git
synced 2025-08-09 05:14:44 +02:00
Trim trailing whitespace and set it in editorconfig
This commit is contained in:
@ -146,7 +146,7 @@ impl TaggedDictBuilder {
|
||||
dict: IndexMap::default(),
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
pub fn with_capacity(tag: impl Into<Tag>, n: usize) -> TaggedDictBuilder {
|
||||
TaggedDictBuilder {
|
||||
tag: tag.into(),
|
||||
|
@ -58,7 +58,7 @@ impl<'de> ConfigDeserializer<'de> {
|
||||
|
||||
Ok(())
|
||||
}
|
||||
|
||||
|
||||
pub fn top(&mut self) -> &DeserializerItem {
|
||||
let value = self.stack.last();
|
||||
trace!("inspecting top value :: {:?}", value);
|
||||
@ -191,7 +191,7 @@ impl<'de, 'a> de::Deserializer<'de> for &'a mut ConfigDeserializer<'de> {
|
||||
{
|
||||
unimplemented!("deserialize_byte_buf")
|
||||
}
|
||||
|
||||
|
||||
fn deserialize_option<V>(self, visitor: V) -> Result<V::Value, Self::Error>
|
||||
where
|
||||
V: Visitor<'de>,
|
||||
|
Reference in New Issue
Block a user