cleanup: remove obsolete comments

These comments were made obsolete in c323a2d5fe
("Continued refactoring of history", 2025-11-09)

Closes #12041
This commit is contained in:
Daniel Rainer
2025-11-10 02:09:31 +01:00
committed by Johannes Altmanninger
parent 6ce3bb858d
commit 80363314aa
2 changed files with 1 additions and 2 deletions

View File

@@ -407,7 +407,6 @@ fn load_from_file(
file: &File,
current_file_id: FileId,
) -> Option<PotentialUpdate<UniversalReadUpdate>> {
// Get the dev / inode.
if current_file_id == self.last_read_file_id {
FLOG!(uvar_file, "universal log sync elided based on fstat()");
None

View File

@@ -121,7 +121,7 @@ pub struct RawHistoryFile {
impl RawHistoryFile {
/// Construct a history file contents from a [`File`] reference and its file id.
pub fn create(history_file: &File, file_id: FileId) -> std::io::Result<Self> {
// Check that the file is seekable, and its size.
// Check the file size.
let len: usize = match file_id.size.try_into() {
Ok(len) => len,
Err(err) => {