• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

facet-rs / facet / 19992185644

06 Dec 2025 05:57PM UTC coverage: 58.742% (-0.005%) from 58.747%
19992185644

Pull #1118

github

web-flow
Merge 46640849d into 45a8cb1c3
Pull Request #1118: Reduce/cordon bloat in facet, introduce bloatbench

1142 of 3107 new or added lines in 61 files covered. (36.76%)

533 existing lines in 29 files now uncovered.

24225 of 41240 relevant lines covered (58.74%)

502.5 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/facet-core/src/impls_std/path.rs
1
use crate::*;
2

3
unsafe impl Facet<'_> for std::path::PathBuf {
4
    const SHAPE: &'static Shape = &const {
5
        Shape {
6
            id: Shape::id_of::<Self>(),
7
            layout: Shape::layout_of::<Self>(),
NEW
8
            vtable: value_vtable!(std::path::PathBuf, |f, _opts| write!(
×
UNCOV
9
                f,
×
10
                "{}",
11
                Self::SHAPE.type_identifier
×
12
            )),
13
            ty: Type::User(UserType::Opaque),
14
            def: Def::Scalar,
15
            type_identifier: "PathBuf",
16
            type_params: &[],
17
            doc: &[],
18
            attributes: &[],
19
            type_tag: None,
20
            inner: None,
21
        }
22
    };
23
}
24

25
unsafe impl Facet<'_> for std::path::Path {
26
    const SHAPE: &'static Shape = &const {
27
        Shape {
28
            id: Shape::id_of::<Self>(),
29
            layout: Shape::UNSIZED_LAYOUT,
NEW
30
            vtable: value_vtable!(std::path::Path, |f, _opts| write!(
×
UNCOV
31
                f,
×
32
                "{}",
33
                Self::SHAPE.type_identifier
×
34
            )),
35
            ty: Type::User(UserType::Opaque),
36
            def: Def::Scalar,
37
            type_identifier: "Path",
38
            type_params: &[],
39
            doc: &[],
40
            attributes: &[],
41
            type_tag: None,
42
            inner: None,
43
        }
44
    };
45
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc