mirror of https://codeberg.org/topola/topola.git
dsn: count lines from 1, not 0
This commit is contained in:
parent
aa40c80d82
commit
803d8edf94
|
|
@ -68,7 +68,7 @@ impl<'de> Deserializer<'de> {
|
||||||
pub fn from_str(input: &'de str) -> Self {
|
pub fn from_str(input: &'de str) -> Self {
|
||||||
Self {
|
Self {
|
||||||
input,
|
input,
|
||||||
context: DsnContext { line: 0, column: 0 },
|
context: DsnContext { line: 1, column: 0 },
|
||||||
|
|
||||||
string_quote: None,
|
string_quote: None,
|
||||||
space_in_quoted_tokens: false,
|
space_in_quoted_tokens: false,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue