rustdoc 경고 0개로 정리 — 단위 표기 false positive 완화

cargo doc --workspace --no-deps 에서 55 → 0 warnings.

## 변경
- crates/{ir, kernel, incremental, viewer}/src/lib.rs 최상단에
  #![allow(rustdoc::broken_intra_doc_links)] 추가.
  · 이유: doc comment 내 단위 표기 [mm] [m] [deg] [rad] [radians] 가
    intra-doc link 문법과 충돌 (40+ 건). 실제 intra-doc link 가 아님.
  · 각 crate 에 주석으로 이유 명시.
- crates/ifc/src/bridge_export.rs: camber_mid_mm doc comment 의 \[mm\] escape.
- crates/dsl/src/{cross_beam,expansion_joint}.rs: station doc comment \[m\] escape.
- crates/viewer/src/camera.rs: radius/yaw/pitch doc \[mm\]/\[radians\] escape.
- crates/incremental/src/lib.rs: `HashSet<FeatureId>` → backtick 래핑
  (unclosed HTML tag 경고 해소).

cargo check --workspace --all-targets: 0 warnings.
테스트 회귀 없음: cimery-ifc 20 + cimery-viewer 13 passed.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
minsung
2026-04-16 08:53:05 +09:00
parent 8bcf65402c
commit e1821c88cf
8 changed files with 15 additions and 7 deletions

View File

@@ -50,7 +50,7 @@ pub struct BridgeExportParams {
pub haunch_depth: f64, // mm
pub show_parapets: bool,
pub show_joints: bool,
/// Sprint 37: 거더 중앙 camber 솟음량 [mm]. 0 = 직선.
/// Sprint 37: 거더 중앙 camber 솟음량 \[mm\]. 0 = 직선.
/// > 0 일 때는 beam 을 `CAMBER_SEGMENTS` 개로 분할해 포물선 근사.
pub camber_mid_mm: f64,
}