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

facet-rs / facet / 15787779743

20 Jun 2025 09:01PM UTC coverage: 61.487% (+1.8%) from 59.711%
15787779743

Pull #774

github

web-flow
Merge dd04260c9 into ec93ce66e
Pull Request #774: split up Partial::end into smaller bits

147 of 165 new or added lines in 2 files covered. (89.09%)

1817 existing lines in 50 files now uncovered.

10564 of 17181 relevant lines covered (61.49%)

161.84 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 VTABLE: &'static ValueVTable = &const {
5
        value_vtable!(std::path::PathBuf, |f, _opts| write!(
6
            f,
×
7
            "{}",
×
8
            Self::SHAPE.type_identifier
×
9
        ))
10
    };
11

12
    const SHAPE: &'static Shape<'static> = &const {
13
        Shape::builder_for_sized::<Self>()
14
            .type_identifier("PathBuf")
15
            .ty(Type::User(UserType::Opaque))
16
            .def(Def::Scalar)
17
            .build()
18
    };
19
}
20

21
unsafe impl Facet<'_> for std::path::Path {
22
    const VTABLE: &'static ValueVTable = &const {
23
        value_vtable_unsized!(std::path::Path, |f, _opts| write!(
UNCOV
24
            f,
×
UNCOV
25
            "{}",
×
UNCOV
26
            Self::SHAPE.type_identifier
×
27
        ))
28
    };
29

30
    const SHAPE: &'static Shape<'static> = &const {
31
        Shape::builder_for_unsized::<Self>()
32
            .type_identifier("Path")
33
            .ty(Type::User(UserType::Opaque))
34
            .def(Def::Scalar)
35
            .build()
36
    };
37
}
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