Skip to content

Commit

Permalink
chore: Small documentation improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
audunhalland committed Nov 12, 2023
1 parent 5c65b8d commit 0451663
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions juniper/src/executor/look_ahead_lazy.rs
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ impl<'a, S: ScalarValue> Default for LookAheadChildren<'a, S> {
}

impl<'a, S: ScalarValue> LookAheadChildren<'a, S> {
/// Returns the number children.
/// Returns the number of children present.
pub fn len(&self) -> usize {
self.children.len()
}
Expand Down Expand Up @@ -306,7 +306,7 @@ impl<'a, S: ScalarValue> LookAheadSelection<'a, S> {
.unwrap_or_else(|| self.field_original_name())
}

/// Returns the top level arguments from the current selection.
/// Returns the top level arguments from the current selection, if present.
pub fn arguments(&self) -> Option<LookAheadArguments<'a, S>> {
match self.source {
SelectionSource::Field(field) => {
Expand Down

0 comments on commit 0451663

Please sign in to comment.