File tree Expand file tree Collapse file tree 2 files changed +10
-3
lines changed Expand file tree Collapse file tree 2 files changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -138,7 +138,11 @@ impl eframe::App for SpreadsheetApp {
138
138
egui:: menu:: bar ( ui, |ui| {
139
139
egui:: widgets:: global_theme_preference_buttons ( ui) ;
140
140
if ui. button ( "📖 Read The Blog Post" ) . clicked ( ) {
141
- ctx. output_mut ( |o| o. open_url = Some ( OpenUrl :: new_tab ( "https://docs.feldera.com/use_cases/real_time_apps/part1" ) ) ) ;
141
+ ctx. output_mut ( |o| {
142
+ o. open_url = Some ( OpenUrl :: new_tab (
143
+ "https://docs.feldera.com/use_cases/real_time_apps/part1" ,
144
+ ) )
145
+ } ) ;
142
146
}
143
147
if ui. button ( format ! ( "{GITHUB} Fork me on Github" ) ) . clicked ( ) {
144
148
ctx. output_mut ( |o| {
Original file line number Diff line number Diff line change @@ -221,7 +221,7 @@ pub(crate) struct CellCache {
221
221
debouncer : Rc < RefCell < Debouncer > > ,
222
222
current_range : Option < Range < u64 > > ,
223
223
prefetch_before_after_id : u64 ,
224
- max_cells : usize
224
+ max_cells : usize ,
225
225
}
226
226
227
227
impl CellCache {
@@ -263,7 +263,10 @@ impl CellCache {
263
263
}
264
264
265
265
let start = id. saturating_sub ( self . prefetch_before_after_id ) ;
266
- let end = std:: cmp:: min ( id. saturating_add ( self . prefetch_before_after_id ) , self . max_cells as u64 ) ;
266
+ let end = std:: cmp:: min (
267
+ id. saturating_add ( self . prefetch_before_after_id ) ,
268
+ self . max_cells as u64 ,
269
+ ) ;
267
270
let current_range = start..end;
268
271
self . current_range = Some ( current_range. clone ( ) ) ;
269
272
trace ! ( "fetching range: {:?}" , current_range) ;
You can’t perform that action at this time.
0 commit comments