Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
mercurial-devel
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mercurial
mercurial-devel
Commits
cee7a8e3
Commit
cee7a8e3
authored
4 years ago
by
Antoine cezar
Browse files
Options
Downloads
Patches
Plain Diff
hg-core: minor rewording in docstring (D8958#inline-15005 followup)
Differential Revision:
https://phab.mercurial-scm.org/D9104
parent
412a5827
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
rust/hg-core/src/revlog/patch.rs
+2
-2
2 additions, 2 deletions
rust/hg-core/src/revlog/patch.rs
with
2 additions
and
2 deletions
rust/hg-core/src/revlog/patch.rs
+
2
−
2
View file @
cee7a8e3
...
...
@@ -20,7 +20,7 @@
impl
Chunk
<
'_
>
{
/// Adjusted start of the chunk to replace.
///
///
Offset allow to
tak
e
into account the growth/shrinkage of data
///
The offset,
tak
ing
into account the growth/shrinkage of data
/// induced by previously applied chunks.
fn
start_offseted_by
(
&
self
,
offset
:
i32
)
->
u32
{
let
start
=
self
.start
as
i32
+
offset
;
...
...
@@ -30,7 +30,7 @@
/// Adjusted end of the chunk to replace.
///
///
Offset allow to
tak
e
into account the growth/shrinkage of data
///
The offset,
tak
ing
into account the growth/shrinkage of data
/// induced by previously applied chunks.
fn
end_offseted_by
(
&
self
,
offset
:
i32
)
->
u32
{
self
.start_offseted_by
(
offset
)
+
self
.data
.len
()
as
u32
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment