Skip to content

Commit

Permalink
feat: Fallback to returning information about the enclosing expression
Browse files Browse the repository at this point in the history
... if the query points at whitespace.
  • Loading branch information
Marwes committed Aug 12, 2017
1 parent 640154b commit 3a8e4c0
Show file tree
Hide file tree
Showing 4 changed files with 223 additions and 107 deletions.
2 changes: 1 addition & 1 deletion base/src/serialization.rs
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,7 @@ where
{
type Value = T;

fn deserialize<D>(mut self, deserializer: D) -> Result<Self::Value, D::Error>
fn deserialize<D>(self, deserializer: D) -> Result<Self::Value, D::Error>
where
D: Deserializer<'de>,
{
Expand Down
Loading

0 comments on commit 3a8e4c0

Please sign in to comment.