mirror of
https://github.com/nushell/nushell.git
synced 2025-08-18 06:20:23 +02:00
Misc doc fixes (#12266)
# Description Just a bunch of miscellaneous fixes to the Rust documentation that I found recently while doing a pass on some things. # User-Facing Changes None
This commit is contained in:
@@ -9,9 +9,9 @@ use serde::{Deserialize, Serialize};
|
||||
|
||||
/// A representation of the plugin's invocation command including command line args
|
||||
///
|
||||
/// The `EvaluatedCall` contains information about the way a [Plugin](crate::Plugin) was invoked
|
||||
/// The `EvaluatedCall` contains information about the way a [`Plugin`](crate::Plugin) was invoked
|
||||
/// representing the [`Span`] corresponding to the invocation as well as the arguments
|
||||
/// it was invoked with. It is one of three items passed to [`run`](crate::Plugin::run()) along with
|
||||
/// it was invoked with. It is one of three items passed to [`run()`](crate::PluginCommand::run()) along with
|
||||
/// `name` which command that was invoked and a [`Value`] that represents the input.
|
||||
///
|
||||
/// The evaluated call is used with the Plugins because the plugin doesn't have
|
||||
|
@@ -353,7 +353,7 @@ pub enum PluginOption {
|
||||
GcDisabled(bool),
|
||||
}
|
||||
|
||||
/// This is just a serializable version of [std::cmp::Ordering], and can be converted 1:1
|
||||
/// This is just a serializable version of [`std::cmp::Ordering`], and can be converted 1:1
|
||||
#[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Serialize, Deserialize)]
|
||||
pub enum Ordering {
|
||||
Less,
|
||||
@@ -505,7 +505,7 @@ impl<D> EngineCall<D> {
|
||||
}
|
||||
}
|
||||
|
||||
/// The response to an [EngineCall]. The type parameter determines the output type for pipeline
|
||||
/// The response to an [`EngineCall`]. The type parameter determines the output type for pipeline
|
||||
/// data.
|
||||
#[derive(Serialize, Deserialize, Debug, Clone)]
|
||||
pub enum EngineCallResponse<D> {
|
||||
|
Reference in New Issue
Block a user