Skip to content

Commit 459f666

Browse files
committed
Linting
1 parent 99663da commit 459f666

File tree

4 files changed

+3
-10
lines changed

4 files changed

+3
-10
lines changed

src/db/needs_ride.rs

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,6 @@ pub struct NeedsRide {
1010
pub event_id: i32,
1111
}
1212

13-
impl NeedsRide {
14-
pub fn validate(&self) -> Result<(), Vec<String>> {
15-
//let mut errs = Vec::new();
16-
Ok(())
17-
}
18-
}
19-
2013
impl NeedsRide {
2114
pub async fn insert_new<'c, C>(user_id: String, event_id: i32, conn: C) -> Result<Self>
2215
where

src/frontend/src/components/icons/BellAlert.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-bell-fill" viewBox="0 0 16 16">
33
<path d="M8 16a2 2 0 0 0 2-2H6a2 2 0 0 0 2 2m.995-14.901a1 1 0 1 0-1.99 0A5 5 0 0 0 3 6c0 1.098-.5 6-2 7h14c-1.5-1-2-5.902-2-7 0-2.42-1.72-4.44-4.005-4.901"/>
44
</svg>
5-
</template>
5+
</template>

src/frontend/src/components/icons/BellSlash.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-bell-slash-fill" viewBox="0 0 16 16">
33
<path d="M5.164 14H15c-1.5-1-2-5.902-2-7q0-.396-.06-.776zm6.288-10.617A5 5 0 0 0 8.995 2.1a1 1 0 1 0-1.99 0A5 5 0 0 0 3 7c0 .898-.335 4.342-1.278 6.113zM10 15a2 2 0 1 1-4 0zm-9.375.625a.53.53 0 0 0 .75.75l14.75-14.75a.53.53 0 0 0-.75-.75z"/>
44
</svg>
5-
</template>
5+
</template>

src/migrations/1-need-a-ride.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,4 +76,4 @@ CREATE TRIGGER trg_PreventRideAssociationDriver
7676
AFTER INSERT OR UPDATE ON car
7777
FOR EACH ROW
7878
EXECUTE PROCEDURE remove_if_in_needs_ride_driver();
79-
END;
79+
END;

0 commit comments

Comments
 (0)