mirror of
https://github.com/servo/servo.git
synced 2025-07-23 07:13:52 +01:00
clippy: fix some warnings in components/script (#31865)
This commit is contained in:
parent
58f170c97a
commit
188f3caff1
10 changed files with 16 additions and 16 deletions
|
@ -234,7 +234,7 @@ impl ErrorInfo {
|
|||
if let Some(info) = ErrorInfo::from_dom_exception(object, cx) {
|
||||
return Some(info);
|
||||
}
|
||||
return None;
|
||||
None
|
||||
}
|
||||
|
||||
unsafe fn from_value(value: HandleValue, cx: *mut JSContext) -> ErrorInfo {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue