@@ -113,7 +113,7 @@ impl<'executable> Executable<'executable, '_> {
113113 /// # Arguments
114114 ///
115115 /// 1. `quil` is a string slice representing the original program to be run. The returned
116- /// [`Executable`] will only live as long as this reference.
116+ /// [`Executable`] will only live as long as this reference.
117117 #[ must_use]
118118 #[ allow( clippy:: missing_panics_doc) ]
119119 pub fn from_quil < Quil : Into < Arc < str > > > ( quil : Quil ) -> Self {
@@ -138,8 +138,8 @@ impl<'executable> Executable<'executable, '_> {
138138 /// # Arguments
139139 ///
140140 /// 1. `register` is a string reference of the name of a register to read from. The lifetime
141- /// of this reference should be the lifetime of the [`Executable`], which is the lifetime of
142- /// the `quil` argument to [`Executable::from_quil`].
141+ /// of this reference should be the lifetime of the [`Executable`], which is the lifetime of
142+ /// the `quil` argument to [`Executable::from_quil`].
143143 ///
144144 /// # Example
145145 ///
@@ -212,8 +212,8 @@ impl<'executable> Executable<'executable, '_> {
212212 /// # Arguments
213213 ///
214214 /// 1. `param_name`: Reference to the name of the parameter which should correspond to a
215- /// `DECLARE` statement in the Quil program. The lifetime of the reference should be the
216- /// same as the [`Executable`]: that is the same as the `quil` param to [`Executable::from_quil`].
215+ /// `DECLARE` statement in the Quil program. The lifetime of the reference should be the
216+ /// same as the [`Executable`]: that is the same as the `quil` param to [`Executable::from_quil`].
217217 /// 2. `index`: The index into the memory vector that you're setting.
218218 /// 3. `value`: The value to set for the specified memory.
219219 ///
@@ -424,8 +424,8 @@ impl<'execution> Executable<'_, 'execution> {
424424 ///
425425 /// # Arguments
426426 /// 1. `quantum_processor_id`: The name of the QPU to run on. This parameter affects the
427- /// lifetime of the [`Executable`]. The [`Executable`] will only live as long as the last
428- /// parameter passed into this function.
427+ /// lifetime of the [`Executable`]. The [`Executable`] will only live as long as the last
428+ /// parameter passed into this function.
429429 ///
430430 /// # Warning
431431 ///
@@ -465,13 +465,13 @@ impl<'execution> Executable<'_, 'execution> {
465465 ///
466466 /// # Arguments
467467 /// 1. `quantum_processor_id`: The ID of the QPU for which to translate the program.
468- /// This parameter affects the lifetime of the [`Executable`].
469- /// The [`Executable`] will only live as long as the last parameter passed into this function.
468+ /// This parameter affects the lifetime of the [`Executable`].
469+ /// The [`Executable`] will only live as long as the last parameter passed into this function.
470470 /// 2. `translation_options`: An optional [`TranslationOptions`] that is used to configure how
471471 /// the program in translated.
472472 /// 3. `execution_options`: The [`ExecutionOptions`] to use. If the connection strategy used
473- /// is [`crate::qpu::api::ConnectionStrategy::EndpointId`] then direct access to that endpoint
474- /// overrides the `quantum_processor_id` parameter.
473+ /// is [`crate::qpu::api::ConnectionStrategy::EndpointId`] then direct access to that endpoint
474+ /// overrides the `quantum_processor_id` parameter.
475475 ///
476476 /// # Warning
477477 ///
@@ -523,13 +523,13 @@ impl<'execution> Executable<'_, 'execution> {
523523 ///
524524 /// # Arguments
525525 /// 1. `quantum_processor_id`: The ID of the QPU for which to translate the program.
526- /// This parameter affects the lifetime of the [`Executable`].
527- /// The [`Executable`] will only live as long as the last parameter passed into this function.
526+ /// This parameter affects the lifetime of the [`Executable`].
527+ /// The [`Executable`] will only live as long as the last parameter passed into this function.
528528 /// 2. `translation_options`: An optional [`TranslationOptions`] that is used to configure how
529529 /// the program in translated.
530530 /// 3. `execution_options`: The [`ExecutionOptions`] to use. If the connection strategy used
531- /// is [`crate::qpu::api::ConnectionStrategy::EndpointId`] then direct access to that endpoint
532- /// overrides the `quantum_processor_id` parameter.
531+ /// is [`crate::qpu::api::ConnectionStrategy::EndpointId`] then direct access to that endpoint
532+ /// overrides the `quantum_processor_id` parameter.
533533 ///
534534 /// # Errors
535535 ///
0 commit comments