Skip to content

Commit

Permalink
Merge pull request #179 from multiformats/fix-godoc
Browse files Browse the repository at this point in the history
The comment on GetHasher was copy-pasta and referred to Registry.
  • Loading branch information
hsanjuan committed Oct 25, 2023
2 parents 24355ea + b560acd commit bc73c33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion registry.go
Expand Up @@ -18,7 +18,7 @@ func Register(indicator uint64, hasherFactory func() hash.Hash) {
mhreg.Register(indicator, hasherFactory)
}

// Register is an alias for Register in the core package.
// GetHasher is an alias for GetHasher in the core package.
//
// Consider using the core package instead of this multihash package;
// that package does not introduce transitive dependencies except for those you opt into,
Expand Down

0 comments on commit bc73c33

Please sign in to comment.