Skip to content

Commit 730fda0

Browse files
committed
Fix doc comment for Interpreter
1 parent db3b312 commit 730fda0

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

vm/src/vm.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1956,10 +1956,6 @@ impl<'vm> Drop for ReprGuard<'vm> {
19561956
}
19571957
}
19581958

1959-
pub struct Interpreter {
1960-
vm: VirtualMachine,
1961-
}
1962-
19631959
/// The general interface for the VM
19641960
///
19651961
/// # Examples
@@ -1976,6 +1972,10 @@ pub struct Interpreter {
19761972
/// vm.run_code_obj(code_obj, scope).unwrap();
19771973
/// });
19781974
/// ```
1975+
pub struct Interpreter {
1976+
vm: VirtualMachine,
1977+
}
1978+
19791979
impl Interpreter {
19801980
pub fn new(settings: PySettings, init: InitParameter) -> Self {
19811981
Self::new_with_init(settings, |_| init)

0 commit comments

Comments
 (0)