Skip to content

Commit aa168ed

Browse files
committed
chore: rustfmt
1 parent fed581f commit aa168ed

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

src/lib.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -90,8 +90,8 @@
9090
//! - **`string`** - Specifies a format string. Currently only used for `NaiveDate`, `NaiveDateTime` and `NaiveTime`. See [`chrono::format::strftime`] for more information.
9191
9292
#![cfg_attr(
93-
feature = "chrono",
94-
doc = r##"
93+
feature = "chrono",
94+
doc = r##"
9595
Example:
9696
9797
```
@@ -387,6 +387,6 @@ impl ColumnSort {
387387
///
388388
/// Please refer to the [`getter` example](https://github.com/Synphonyte/leptos-struct-table/tree/master/examples/getter) for how this is used
389389
#[derive(
390-
Copy, Clone, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, Default, Serialize, Deserialize,
390+
Copy, Clone, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, Default, Serialize, Deserialize,
391391
)]
392392
pub struct FieldGetter<T>(PhantomData<T>);

src/table_row.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,15 @@ pub trait TableRow: Clone {
1818
///
1919
/// This render function has to render exactly one root element.
2020
fn render_row(&self, index: usize, on_change: EventHandler<ChangeEvent<Self>>)
21-
-> impl IntoView;
21+
-> impl IntoView;
2222

2323
/// Render the head row of the table.
2424
fn render_head_row<F>(
2525
sorting: Signal<VecDeque<(usize, ColumnSort)>>,
2626
on_head_click: F,
2727
) -> impl IntoView
28-
where
29-
F: Fn(TableHeadEvent) + Clone + 'static;
28+
where
29+
F: Fn(TableHeadEvent) + Clone + 'static;
3030

3131
/// The name of the column (= struct field name) at the given index. This can be used to implement
3232
/// sorting in a database. It takes the `#[table(skip)]` attributes into account. `col_index`

0 commit comments

Comments
 (0)