Skip to content

Commit 122a8ad

Browse files
committed
Format code
1 parent 6111558 commit 122a8ad

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

python/markupever/parser.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ def errors(self) -> typing.List[str]:
5858
def quirks_mode(self) -> int:
5959
"""
6060
Returns the quirks mode (always is QUIRKS_MODE_OFF for XML).
61-
61+
6262
See quirks mode on [wikipedia](https://en.wikipedia.org/wiki/Quirks_mode) for more information.
6363
"""
6464
return self.__raw.quirks_mode()

src/qualname.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,7 @@ use std::hash::Hasher;
33
#[inline(always)]
44
pub(super) fn repr_qualname(q: &treedom::markup5ever::QualName) -> String {
55
if q.ns.is_empty() && q.prefix.is_none() {
6-
format!(
7-
"QualName(local={:?})",
8-
q.local.as_ref(),
9-
)
6+
format!("QualName(local={:?})", q.local.as_ref(),)
107
} else {
118
format!(
129
"QualName(local={:?}, ns={:?}, prefix={:?})",

0 commit comments

Comments
 (0)