ajtribick / twofloat

A double-double arithmetic library for Rust
BSD 3-Clause "New" or "Revised" License
16 stars 7 forks source link

add missing closing triple backticks #13

Closed joseluis closed 2 years ago

joseluis commented 2 years ago

continuing the conversation from #10

I think the example I was looking at when I was making the project initially didn't close the code blocks when they were at the end of the comment block, so I didn't either. It seems to be valid from the point of view of doctest discovery and documentation generation, so maybe that's a bug in the Vim plugin? I'm not opposed to changing it though.

I've tried finding examples or specs regarding missing closing codeblocks ticks, and couldn't find anything illuminating in that regard. Every example I can find closes the codeblocks, and since I'm using the official rust vim plugin and you're open to add the closing triple backticks, this PR does just that.

It also removes one unnecessary codeblock language specification.

ajtribick commented 2 years ago

Thanks!