tisonkun opened a new pull request, #381:
URL: https://github.com/apache/datasketches-rust/pull/381

   Align the `datasketches::density` public API documentation with the 
crate-wide documentation guidelines in `CONTRIBUTING.md` and the conventions 
used across existing sketch modules:
   
   - Use language-neutral cross-language serialization phrasing across 
`DensitySketch::serialize`, `DensitySketch::deserialize`, and 
`DensitySketch::deserialize_with_kernel`, stating the shared coordinate-type 
and kernel requirements symmetrically instead of naming `datasketches-cpp` in 
public rustdoc.
   - Summarize coordinate types (`DensityValue`), kernel configuration 
(`GaussianKernel`, `Kernel`), and cross-language binary interchange in the 
`datasketches::density` module overview.
   - Remove the duplicate `# Panics` section on the `GaussianKernel` struct 
(`Kernel::evaluate` already documents its panic contract on each 
implementation).
   - Align `DensitySketch`, `DensitySketchIter`, `DensityValue`, and 
getter/query/merge docstrings (`total_weight`, `is_estimation_mode`, 
`num_retained`, `estimated_size`, `reset`, `iter`, `merge`, `estimate`) with 
the phrasing and inline-link conventions of `kll`, `req`, `tdigest`, and 
`tuple`, without exposing private field names or internal compaction mechanics.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to