refactor: Buffer.Manager.get_buffer_for_file can be const
This commit is contained in:
parent
d07f0f5f35
commit
38236bd93a
1 changed files with 1 additions and 1 deletions
|
@ -80,7 +80,7 @@ pub fn extract_state(self: *Self, iter: *[]const u8) !void {
|
|||
}
|
||||
}
|
||||
|
||||
pub fn get_buffer_for_file(self: *Self, file_path: []const u8) ?*Buffer {
|
||||
pub fn get_buffer_for_file(self: *const Self, file_path: []const u8) ?*Buffer {
|
||||
return self.buffers.get(file_path);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue