History

Fix typos

Kian-Meng Ang committed 4 years ago

Commit e9fcb701 parent aa639d858 files · +73 −73Browse files

Showing the changes to git-pack/src/data/input (1 of 58 files). Show all

Unified · Split

git-pack/src/data/input/entries_to_bytes.rs+2−2
@@ -21,7 +21,7 @@ pub struct EntriesToBytesIter<I: Iterator, W> { · 20 unmodified lines
21 data_version: crate::data::Version,21 data_version: crate::data::Version,
22 /// The amount of entries seen so far22 /// The amount of entries seen so far
23 num_entries: u32,23 num_entries: u32,
24 /// If we are done, no additional writes will occour24 /// If we are done, no additional writes will occur
25 is_done: bool,25 is_done: bool,
26 /// The kind of hash to use for the digest26 /// The kind of hash to use for the digest
27 object_hash: git_hash::Kind,27 object_hash: git_hash::Kind,
@@ -33,7 +33,7 @@ where · 5 unmodified lines
33 W: std::io::Read + std::io::Write + std::io::Seek,33 W: std::io::Read + std::io::Write + std::io::Seek,
34{34{
35 /// Create a new instance reading [entries][input::Entry] from an `input` iterator and write pack data bytes to35 /// Create a new instance reading [entries][input::Entry] from an `input` iterator and write pack data bytes to
36 /// `output` writer, resembling a pack of `version`. The amonut of entries will be dynaimcally determined and36 /// `output` writer, resembling a pack of `version`. The amount of entries will be dynaimcally determined and
37 /// the pack is completed once the last entry was written.37 /// the pack is completed once the last entry was written.
38 /// `object_hash` is the kind of hash to use for the pack checksum and maybe other places, depending on the version.38 /// `object_hash` is the kind of hash to use for the pack checksum and maybe other places, depending on the version.
39 ///39 ///

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t