Skip to content

Commit 556127c

Browse files
committed
clean
1 parent c79f23d commit 556127c

File tree

3 files changed

+0
-4
lines changed

3 files changed

+0
-4
lines changed

src/html/jsdoc.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,6 @@ impl ExampleCtx {
297297
pub const TEMPLATE: &'static str = "example";
298298

299299
pub fn new(render_ctx: &RenderContext, example: &str, i: usize) -> Self {
300-
// Using the context-aware builder with the Example kind
301300
let id = IdBuilder::new(render_ctx.ctx)
302301
.kind(IdKind::Example)
303302
.index(i)

src/html/symbols/class.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@ pub(crate) fn render_class(
1616
doc_node: &DocNodeWithContext,
1717
name: &str,
1818
) -> Vec<SectionCtx> {
19-
// Use IdKind::Class to ensure the enum variant is considered used
20-
let _id_kind = IdKind::Class; // This will be optimized out in a release build
2119
let class_def = doc_node.class_def().unwrap();
2220

2321
let current_type_params = class_def

src/html/util.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,6 @@ impl AsRef<str> for Id {
157157
}
158158
}
159159

160-
/// Sanitize a component for use in an ID
161160
fn sanitize_id_part(part: &str) -> String {
162161
html_escape::encode_quoted_attribute(&TARGET_RE.replace_all(part, "_"))
163162
.into_owned()

0 commit comments

Comments
 (0)