rust-lang / rust-clippy

A bunch of lints to catch common mistakes and improve your Rust code. Book: https://doc.rust-lang.org/clippy/

Home Page:https://rust-lang.github.io/rust-clippy/

Repository from Github https://github.comrust-lang/rust-clippyRepository from Github https://github.comrust-lang/rust-clippy

Code highlighting on lints website using SCSS language a lot somehow?

steffahn opened this issue · comments

Description

Looking through the lints descriptions on https://rust-lang.github.io/rust-clippy/master/index.html I’ve noticed some inconsistent highlighting… e.g. very clearly in the Example here:

Image

Looking at the html, it seems the upper code example was highlighted as “SCSS” somehow?

Image

Searching the full page shows this happening quite a few times, i.e. in multiple places.

My best guess would be: Maybe these code examples just run on highlight.js’s language autodetection?