Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
ld
go-ld-prime
Commits
8929c2f1
Commit
8929c2f1
authored
Feb 06, 2020
by
Eric Myhre
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
typo fixes
parent
e5b0b8a6
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
_rsrch/nodesolution/impls/map.go
_rsrch/nodesolution/impls/map.go
+3
-3
No files found.
_rsrch/nodesolution/impls/map.go
View file @
8929c2f1
...
@@ -223,7 +223,7 @@ func (ma *plainMap__Assembler) AssembleDirectly(k string) (ipld.NodeAssembler, e
...
@@ -223,7 +223,7 @@ func (ma *plainMap__Assembler) AssembleDirectly(k string) (ipld.NodeAssembler, e
return
&
ma
.
va
,
nil
return
&
ma
.
va
,
nil
}
}
// AssembleKey is part of conforming to MapAssembler, which we do on
// AssembleKey is part of conforming to Map
Node
Assembler, which we do on
// plainMap__Assembler so that BeginMap can just return a retyped pointer rather than new object.
// plainMap__Assembler so that BeginMap can just return a retyped pointer rather than new object.
func
(
ma
*
plainMap__Assembler
)
AssembleKey
()
ipld
.
NodeAssembler
{
func
(
ma
*
plainMap__Assembler
)
AssembleKey
()
ipld
.
NodeAssembler
{
// Sanity check, then update, assembler state.
// Sanity check, then update, assembler state.
...
@@ -238,7 +238,7 @@ func (ma *plainMap__Assembler) AssembleKey() ipld.NodeAssembler {
...
@@ -238,7 +238,7 @@ func (ma *plainMap__Assembler) AssembleKey() ipld.NodeAssembler {
return
&
ma
.
ka
return
&
ma
.
ka
}
}
// AssembleValue is part of conforming to MapAssembler, which we do on
// AssembleValue is part of conforming to Map
Node
Assembler, which we do on
// plainMap__Assembler so that BeginMap can just return a retyped pointer rather than new object.
// plainMap__Assembler so that BeginMap can just return a retyped pointer rather than new object.
func
(
ma
*
plainMap__Assembler
)
AssembleValue
()
ipld
.
NodeAssembler
{
func
(
ma
*
plainMap__Assembler
)
AssembleValue
()
ipld
.
NodeAssembler
{
// Sanity check, then update, assembler state.
// Sanity check, then update, assembler state.
...
@@ -251,7 +251,7 @@ func (ma *plainMap__Assembler) AssembleValue() ipld.NodeAssembler {
...
@@ -251,7 +251,7 @@ func (ma *plainMap__Assembler) AssembleValue() ipld.NodeAssembler {
return
&
ma
.
va
return
&
ma
.
va
}
}
// Finish is part of conforming to MapAssembler, which we do on
// Finish is part of conforming to Map
Node
Assembler, which we do on
// plainMap__Assembler so that BeginMap can just return a retyped pointer rather than new object.
// plainMap__Assembler so that BeginMap can just return a retyped pointer rather than new object.
func
(
ma
*
plainMap__Assembler
)
Finish
()
error
{
func
(
ma
*
plainMap__Assembler
)
Finish
()
error
{
// Sanity check, then update, assembler state.
// Sanity check, then update, assembler state.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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