Skip to content

Commit

Permalink
Minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
mildm8nnered committed Jul 15, 2024
1 parent 027e1be commit e76aa83
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Sources/SourceGraph/Mutators/AccessibilityCascader.swift
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ final class AccessibilityCascader: SourceGraphMutator {
// MARK: - Private

private func cascadeAccessibility(for decls: [Declaration], only kinds: Set<Declaration.Kind> = []) throws {
for decl in decls where decl.accessibility.isExplicit {
for decl in decls where decl.accessibility.isExplicit {
for childDecl in decl.declarations {
if !kinds.isEmpty && !kinds.contains(childDecl.kind) {
continue
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ class SceneDelegate: UIResponder, UIWindowSceneDelegate {
// Use this method to optionally configure and attach the UIWindow `window` to the provided UIWindowScene `scene`.
// If using a storyboard, the `window` property will automatically be initialized and attached to the scene.
// This delegate does not imply the connecting scene or session are new (see `application:configurationForConnectingSceneSession` instead).
guard let scene is UIWindowScene else { return }
guard scene is UIWindowScene else { return }
}

func sceneDidDisconnect(_ scene: UIScene) {
Expand Down

0 comments on commit e76aa83

Please sign in to comment.