Skip to content

Commit fdf5c2e

Browse files
authored
style: adjust publicity for python binding mod (#777)
1 parent ff0ec4b commit fdf5c2e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/py/mod.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ use std::fmt::Write;
1616
use std::sync::Arc;
1717

1818
mod convert;
19-
pub use convert::*;
19+
pub(crate) use convert::*;
2020

2121
pub struct PythonExecutionContext {
2222
pub event_loop: Py<PyAny>,
@@ -131,7 +131,7 @@ pub struct RenderedSpec {
131131
}
132132

133133
#[pyclass]
134-
struct FlowLiveUpdaterUpdates(execution::FlowLiveUpdaterUpdates);
134+
pub struct FlowLiveUpdaterUpdates(execution::FlowLiveUpdaterUpdates);
135135

136136
#[pymethods]
137137
impl FlowLiveUpdaterUpdates {
@@ -147,7 +147,7 @@ impl FlowLiveUpdaterUpdates {
147147
}
148148

149149
#[pyclass]
150-
struct FlowLiveUpdater(pub Arc<execution::FlowLiveUpdater>);
150+
pub struct FlowLiveUpdater(pub Arc<execution::FlowLiveUpdater>);
151151

152152
#[pymethods]
153153
impl FlowLiveUpdater {

0 commit comments

Comments
 (0)