forked from extern/nushell
Eliminate some compiler warnings (#1468)
- Unnecessary parentheses - Deprecated `description()` method
This commit is contained in:
@ -301,10 +301,10 @@ struct DebugEntry<'a> {
|
||||
impl<'a> PrettyDebug for DebugEntry<'a> {
|
||||
/// Prepare debug entries for pretty-printing
|
||||
fn pretty(&self) -> DebugDocBuilder {
|
||||
(b::key(match self.key {
|
||||
b::key(match self.key {
|
||||
Column::String(string) => string.clone(),
|
||||
Column::Value => "<value>".to_string(),
|
||||
}) + b::delimit("(", self.value.pretty(), ")").into_kind())
|
||||
}) + b::delimit("(", self.value.pretty(), ")").into_kind()
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user