Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Philip Woolford
seahash
Commits
8f0cfcf9
Commit
8f0cfcf9
authored
Apr 10, 2019
by
Philip Woolford
Browse files
Fix warning about docstrings in function body.
parent
e6549443
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/buffer.rs
View file @
8f0cfcf9
...
...
@@ -40,8 +40,8 @@ impl State {
// The pointer to the current bytes.
let
mut
ptr
=
buf
.as_ptr
();
//
/
The end of the "main segment", i.e. the biggest buffer s.t. the length is divisible
//
/
by 32.
// The end of the "main segment", i.e. the biggest buffer s.t. the length is divisible
// by 32.
let
end_ptr
=
buf
.as_ptr
()
.offset
(
buf
.len
()
as
isize
&
!
0x1F
);
while
end_ptr
>
ptr
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment