From 730fda0f9ef8dda211ad5c077f6b4fc09fa7a65d Mon Sep 17 00:00:00 2001 From: Noa Date: Thu, 13 Jan 2022 23:26:01 -0600 Subject: [PATCH] Fix doc comment for Interpreter --- vm/src/vm.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/vm/src/vm.rs b/vm/src/vm.rs index 25a525bd4..b969b91cb 100644 --- a/vm/src/vm.rs +++ b/vm/src/vm.rs @@ -1956,10 +1956,6 @@ impl<'vm> Drop for ReprGuard<'vm> { } } -pub struct Interpreter { - vm: VirtualMachine, -} - /// The general interface for the VM /// /// # Examples @@ -1976,6 +1972,10 @@ pub struct Interpreter { /// vm.run_code_obj(code_obj, scope).unwrap(); /// }); /// ``` +pub struct Interpreter { + vm: VirtualMachine, +} + impl Interpreter { pub fn new(settings: PySettings, init: InitParameter) -> Self { Self::new_with_init(settings, |_| init)