mirror of
https://github.com/nushell/nushell.git
synced 2025-08-09 07:16:05 +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:
@ -2,11 +2,13 @@ use chrono::{DateTime, FixedOffset};
|
||||
use nu_protocol::{ShellError, Span, Value};
|
||||
use std::hash::{Hash, Hasher};
|
||||
|
||||
/// A subset of [Value](crate::Value), which is hashable.
|
||||
/// And it means that we can put the value into something like [HashMap](std::collections::HashMap) or [HashSet](std::collections::HashSet)
|
||||
/// for further usage like value statistics.
|
||||
/// A subset of [`Value`](crate::Value), which is hashable.
|
||||
/// And it means that we can put the value into something like
|
||||
/// [`HashMap`](std::collections::HashMap) or [`HashSet`](std::collections::HashSet) for further
|
||||
/// usage like value statistics.
|
||||
///
|
||||
/// For now the main way to crate a [HashableValue] is using [from_value](HashableValue::from_value)
|
||||
/// For now the main way to crate a [`HashableValue`] is using
|
||||
/// [`from_value`](HashableValue::from_value)
|
||||
///
|
||||
/// Please note that although each variant contains `span` field, but during hashing, this field will not be concerned.
|
||||
/// Which means that the following will be true:
|
||||
|
Reference in New Issue
Block a user