Rustdoc and multiple impl blocks order

Can this page be fixed
such as last impl Connection becomes the first.
There are multiple impl Connection blocks scattered in different modules but the most relevant one is in src/
I've tried to move modules inclusion at the end of src/ but it makes no difference.

1 Like

I've also wanted the ability to order impl blocks.

you can order them if you put them into separate modules and order those modules, e.g.:

pub struct Connection;

mod first {
    /// this block will appear first
    impl super::Connection {
        pub fn first() {}
mod second {
    /// this block will appear second
    impl super::Connection {
        pub fn second() {}

For rusqlite, when I browse the code, I expect to find first the code related to Connection and how to open it and actually I (almost) can:

But when I browse the doc, I cannot: