File tree 3 files changed +3
-2
lines changed
3 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ impl<'a> Tree<'a> {
48
48
pub fn from_value ( cfg : & ' a Config , value : Value , content_type : ContentType ) -> Result < Self > {
49
49
let mut details: HashMap < String , Detail > = HashMap :: new ( ) ;
50
50
51
- // The root value needs to be expanded directly, since we donot want to see a
51
+ // The root value needs to be expanded directly, since we don't want to see a
52
52
// `root` item in the tree.
53
53
let items: Vec < TreeItem < String > > = if let Value :: Array ( arr) = value {
54
54
let mut items = Vec :: with_capacity ( arr. len ( ) ) ;
Original file line number Diff line number Diff line change @@ -68,7 +68,7 @@ impl<'a> TreeOverview<'a> {
68
68
let value = match self . tree ( ) . details . get ( id. as_str ( ) ) {
69
69
Some ( detail) => {
70
70
if !matches ! ( detail. raw_value, Value :: Array ( _) | Value :: Object ( _) ) {
71
- // We donot allow to change root to non-expandable value
71
+ // We don't allow to change root to non-expandable value
72
72
return false ;
73
73
}
74
74
detail. raw_value . clone ( )
Original file line number Diff line number Diff line change 1
1
[default .extend-words ]
2
2
ratatui = " ratatui"
3
+ donot = " don't"
You can’t perform that action at this time.
0 commit comments