File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
crates/notedeck_columns/src/timeline Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -124,11 +124,6 @@ impl ListKind {
124
124
}
125
125
}
126
126
127
- /// Thread selection hashing is done in a specific way. For TimelineCache
128
- /// lookups, we want to only let the root_id influence thread selection.
129
- /// This way Thread TimelineKinds always map to the same cached timeline
130
- /// for now (we will likely have to rework this since threads aren't
131
- /// *really* timelines)
132
127
#[ derive( Debug , Clone ) ]
133
128
pub struct ThreadSelection {
134
129
pub root_id : RootNoteIdBuf ,
@@ -171,6 +166,11 @@ impl ThreadSelection {
171
166
}
172
167
}
173
168
169
+ /// Thread selection hashing is done in a specific way. For TimelineCache
170
+ /// lookups, we want to only let the root_id influence thread selection.
171
+ /// This way Thread TimelineKinds always map to the same cached timeline
172
+ /// for now (we will likely have to rework this since threads aren't
173
+ /// *really* timelines)
174
174
impl Hash for ThreadSelection {
175
175
fn hash < H : Hasher > ( & self , state : & mut H ) {
176
176
// only hash the root id for thread selection
You can’t perform that action at this time.
0 commit comments