Drop redundant uuid imports superseded by Main's qualified signatures
Browse files at this commiteb3efbe439b52a7e46829c9193cd1364beefe256Parent: 7890675- chore
- drop redundant uuid imports superseded by Main's qualified signatures
4 changed files +0 -4
- src/domain/board.rs +0 -1
- src/domain/board_stroke.rs +0 -1
- src/domain/course_note.rs +0 -1
- src/domain/course_note_file.rs +0 -1
src/domain/board.rsmodified+0 -1
| @@ -12,7 +12,6 @@ | |||
| 12 | //! so every mutation here is a field-scoped `UPDATE … SET`. A whole-row | 12 | //! so every mutation here is a field-scoped `UPDATE … SET`. A whole-row |
| 13 | //! rewrite would silently wipe both. | 13 | //! rewrite would silently wipe both. |
| 14 | 14 | ||
| 15 | -use uuid::Uuid; | ||
| 16 | use crate::constant::{MAX_BOARD_PARTICIPANTS, MAX_BOARD_TITLE_LEN}; | 15 | use crate::constant::{MAX_BOARD_PARTICIPANTS, MAX_BOARD_TITLE_LEN}; |
| 17 | use crate::domain::monotonic_id::next_uuid; | 16 | use crate::domain::monotonic_id::next_uuid; |
| 18 | use crate::domain::timestamp::Timestamp; | 17 | use crate::domain::timestamp::Timestamp; |
src/domain/board_stroke.rsmodified+0 -1
| @@ -17,7 +17,6 @@ | |||
| 17 | //! count (the stroke claim's dual-counter CTE is what makes that one | 17 | //! count (the stroke claim's dual-counter CTE is what makes that one |
| 18 | //! transaction). | 18 | //! transaction). |
| 19 | 19 | ||
| 20 | -use uuid::Uuid; | ||
| 21 | use crate::constant::BOARD_STROKE_KINDS; | 20 | use crate::constant::BOARD_STROKE_KINDS; |
| 22 | use crate::domain::board::Board; | 21 | use crate::domain::board::Board; |
| 23 | use crate::domain::monotonic_id::next_uuid; | 22 | use crate::domain::monotonic_id::next_uuid; |
src/domain/course_note.rsmodified+0 -1
| @@ -1,4 +1,3 @@ | |||
| 1 | -use uuid::Uuid; | ||
| 2 | use crate::constant::{MAX_NOTE_CONTENT_LEN, MAX_NOTE_TITLE_LEN}; | 1 | use crate::constant::{MAX_NOTE_CONTENT_LEN, MAX_NOTE_TITLE_LEN}; |
| 3 | use crate::domain::course::CourseId; | 2 | use crate::domain::course::CourseId; |
| 4 | use crate::domain::monotonic_id::next_uuid; | 3 | use crate::domain::monotonic_id::next_uuid; |
src/domain/course_note_file.rsmodified+0 -1
| @@ -10,7 +10,6 @@ | |||
| 10 | 10 | ||
| 11 | pub use crate::domain::note_file::{FileContentType, FileName}; | 11 | pub use crate::domain::note_file::{FileContentType, FileName}; |
| 12 | 12 | ||
| 13 | -use uuid::Uuid; | ||
| 14 | use crate::domain::course_note::CourseNoteId; | 13 | use crate::domain::course_note::CourseNoteId; |
| 15 | use crate::domain::monotonic_id::next_uuid; | 14 | use crate::domain::monotonic_id::next_uuid; |
| 16 | 15 | ||