mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-03 23:11:14 -03:00
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:
committed by
Johannes Altmanninger
parent
6ce3bb858d
commit
80363314aa
@@ -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
|
||||
|
||||
@@ -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) => {
|
||||
|
||||
Reference in New Issue
Block a user