Cleanup: Comments, imports, statics, missing type annotation

This commit is contained in:
Matthias van de Meent
2025-06-23 15:52:50 +02:00
parent bdf8ebdf65
commit 39f3ec8b9c
8 changed files with 34 additions and 19 deletions

View File

@@ -399,7 +399,7 @@ pub enum TimelineCreateRequestMode {
// inherits the ancestor's pg_version. Earlier code wasn't
// using a flattened enum, so, it was an accepted field, and
// we continue to accept it by having it here.
pg_version: Option<u32>,
pg_version: Option<PgMajorVersion>,
#[serde(default, skip_serializing_if = "std::ops::Not::not")]
read_only: bool,
},