MCPcopy Create free account
hub / github.com/astral-sh/ruff / deref

Method deref

crates/ruff_python_parser/src/error.rs:20–22  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

18 type Target = ParseErrorType;
19
20 fn deref(&self) -> &Self::Target {
21 &self.error
22 }
23}
24
25impl std::error::Error for ParseError {

Callers

nothing calls this directly

Calls 1

errorMethod · 0.45

Tested by

no test coverage detected