Skip to content

Commit

Permalink
Update text.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
pie-flavor authored Jul 6, 2020
1 parent ee6dbe3 commit 8866a20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/text.rs
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ impl ZMachine {
string
}
/// Copies a dictionary word at a particular index into the provided buffer. Panics if the index
/// is out of bounds ([`dictionary_len`](ZMachine::dictionary_len)
/// is out of bounds ([`dictionary_len`](ZMachine::dictionary_len))
pub fn copy_dictionary_word(&self, idx: usize, string: &mut String) {
assert!(
idx < self.dictionary_len(),
Expand Down

0 comments on commit 8866a20

Please sign in to comment.