Skip to content

Commit f2aa814

Browse files
committed
chore: doc fixes from #2677
1 parent 0fd0332 commit f2aa814

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hugr-py/rust/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ fn current_model_version() -> (u64, u64, u64) {
6363

6464
#[pyfunction]
6565
/// Directly invoke the HUGR CLI entrypoint.
66+
/// Arguments are extracted from std::env::args().
6667
fn run_cli() {
6768
// python is the first arg so skip it
6869
CliArgs::new_from_args(std::env::args().skip(1)).run_cli();
@@ -85,7 +86,6 @@ fn run_cli() {
8586
/// Raises an exception on error.
8687
///
8788
/// Errors or tracing may still be printed to stderr as normal.
88-
/// ```
8989
#[pyfunction]
9090
#[pyo3(signature = (args, input_bytes=None))]
9191
fn cli_with_io(mut args: Vec<String>, input_bytes: Option<&[u8]>) -> PyResult<Vec<u8>> {

0 commit comments

Comments
 (0)