mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-09-24 22:02:23 +01:00
edit wrong file name & suggest editing drive document (#2667)
More important, the link in (Toolchain architecture drive file => diagnostic registry) should be updated Also fixes an "errer" typo.
This commit is contained in:
@@ -96,7 +96,7 @@ auto SourceBuffer::CreateFromFile(llvm::StringRef filename)
|
||||
errno = 0;
|
||||
closer.release();
|
||||
if (close(file_descriptor) == -1) {
|
||||
// Try to unmap the text. No errer handling as this is just best-effort
|
||||
// Try to unmap the text. No error handling as this is just best-effort
|
||||
// cleanup.
|
||||
munmap(mapped_text, size);
|
||||
return ErrnoToError(errno);
|
||||
|
||||
Reference in New Issue
Block a user