Skip to content

Commit fcf3120

Browse files
committed
Fiddle with some newlines
1 parent 6b6f098 commit fcf3120

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

flatgfa-py/src/lib.rs

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -484,6 +484,7 @@ impl PyPath {
484484
self.steps().__len__()
485485
}
486486
}
487+
487488
#[derive(Clone)]
488489
#[pyclass(frozen)]
489490
#[pyo3(name = "ChunkEvent", module = "flatgfa")]
@@ -546,12 +547,12 @@ impl PyGAFLineIter {
546547

547548
#[pyclass]
548549
#[pyo3(name = "GAFLine", module = "flatgfa")]
549-
550550
struct PyGAFLine {
551551
store: Arc<Store>,
552552
chunks: Vec<PyChunkEvent>,
553553
gaf: String,
554554
}
555+
555556
#[pymethods]
556557
impl PyGAFLine {
557558
#[getter]
@@ -586,9 +587,11 @@ impl PyGAFLine {
586587
}
587588
}
588589
}
590+
589591
struct OwnedGAFParser {
590592
mmap: Arc<Mmap>,
591593
}
594+
592595
impl OwnedGAFParser {
593596
fn view_gafparser(&self, position: usize) -> GAFParser<'_> {
594597
let sub_slice = &self.mmap[position..];
@@ -598,13 +601,13 @@ impl OwnedGAFParser {
598601

599602
#[pyclass]
600603
#[pyo3(name = "GAFParser", module = "flatgfa")]
601-
602604
struct PyGAFParser {
603605
gaf_buf: OwnedGAFParser,
604606
store: Arc<Store>,
605607
name_map: NameMap,
606608
pos: usize,
607609
}
610+
608611
#[pymethods]
609612
impl PyGAFParser {
610613
fn __iter__(self_: Py<Self>) -> Py<Self> {
@@ -637,6 +640,7 @@ impl PyGAFParser {
637640
}
638641
}
639642
}
643+
640644
/// A sequence of :class:`Path` objects.
641645
#[pyclass]
642646
#[pyo3(module = "flatgfa")]

0 commit comments

Comments
 (0)