rust-prometheus
rust-prometheus copied to clipboard
doc comments not matching with method return type
trafficstars
https://github.com/tikv/rust-prometheus/blob/ac86a264223c8d918a43e739ca3c48bb4aaedb90/src/encoder/mod.rs#L19-L20
This method actually returns () if successful.
Great catch. Mind sending in a patch @keepsimple1?
@mxinden please take a look at the linked PR when you have time? Thanks.
Unfortunately I no longer have permissions on this repository to e.g. approve CI to run. (Not complaining, this is fine, I haven't been involved much recently :heart:.)
Maybe @lucab can help?