diff --git a/src/env_universal_common.rs b/src/env_universal_common.rs index 51cd88616..9dc895b90 100644 --- a/src/env_universal_common.rs +++ b/src/env_universal_common.rs @@ -407,7 +407,6 @@ fn load_from_file( file: &File, current_file_id: FileId, ) -> Option> { - // Get the dev / inode. if current_file_id == self.last_read_file_id { FLOG!(uvar_file, "universal log sync elided based on fstat()"); None diff --git a/src/history/file.rs b/src/history/file.rs index e74b4b521..b3fc60918 100644 --- a/src/history/file.rs +++ b/src/history/file.rs @@ -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 { - // 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) => {