Skip to content

Commit

Permalink
Fix incorrect usage of it’s
Browse files Browse the repository at this point in the history
  • Loading branch information
Sija committed Jul 4, 2021
1 parent e920384 commit 21a79bb
Show file tree
Hide file tree
Showing 15 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion core/tests/tests/Encoding.mint
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ suite "Encode" {
`typeof #{encode Time.now()} === "string"`
}

test "it encodes Maybe::Just as it's value" {
test "it encodes Maybe::Just as its value" {
`#{encode Maybe::Just("Hello")} === "Hello"`
}

Expand Down
2 changes: 1 addition & 1 deletion src/installer/repository.cr
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ module Mint
"#{name} #{at}"
end

# Gets the versions of a package from it's tags
# Gets the versions of a package from its tags
def versions : Array(Semver)
if version = @version
return [version]
Expand Down
2 changes: 1 addition & 1 deletion src/ls/hover.cr
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ module Mint

# Get the workspace associated with the text document
# this could take a while because the workspace parses
# and type checks all of it's source files.
# and type checks all of its source files.
workspace =
Workspace[uri.path.to_s]

Expand Down
2 changes: 1 addition & 1 deletion src/messages/access_unsafe_component.cr
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ message AccessUnsafeComponent do
block do
text "Use the safe accesscor"
code "&."
text "to access it's functions and properties."
text "to access its functions and properties."
end

snippet node
Expand Down
2 changes: 1 addition & 1 deletion src/messages/argument_expected_colon.cr
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ message ArgumentExpectedColon do
title "Syntax Error"

block do
text "A colon must separate the arguments name from it's type."
text "A colon must separate the arguments name from its type."
end

was_looking_for "colon", got, ":"
Expand Down
2 changes: 1 addition & 1 deletion src/messages/argument_expected_type_or_variable.cr
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ message ArgumentExpectedTypeOrVariable do
title "Syntax Error"

block do
text "An argument must have it's type defined."
text "An argument must have its type defined."
end

was_looking_for "type", got
Expand Down
2 changes: 1 addition & 1 deletion src/messages/enum_destructuring_expected_double_colon.cr
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ message EnumDestructuringExpectedDoubleColon do
bold "name"
text "of an"
bold "enum"
text "and it's"
text "and its"
bold "option"
text "must be separated by a"
bold "double colon"
Expand Down
2 changes: 1 addition & 1 deletion src/messages/enum_id_expected_double_colon.cr
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ message EnumIdExpectedDoubleColon do
bold "name"
text "of an"
bold "enum"
text "and it's"
text "and its"
bold "option"
text "must be separated by a"
bold "double colon"
Expand Down
2 changes: 1 addition & 1 deletion src/messages/enum_id_type_mismatch.cr
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ message EnumIdTypeMismatch do
block do
text "The"
bold "type of an enum"
text "does not match it's definition"
text "does not match its definition"
end

was_expecting_type expected, got
Expand Down
2 changes: 1 addition & 1 deletion src/messages/for_expected_of.cr
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ message ForExpectedOf do
block do
text "The arguments of a "
bold "for expression"
text "and it's subject must be separated with"
text "and its subject must be separated with"
bold "of keyword."
end

Expand Down
2 changes: 1 addition & 1 deletion src/messages/function_type_mismatch.cr
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ message FunctionTypeMismatch do
title "Type Error"

block do
text "The return type of a function does not match it's type definition."
text "The return type of a function does not match its type definition."
end

was_expecting_type expected, got
Expand Down
2 changes: 1 addition & 1 deletion src/messages/get_expected_colon.cr
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ message GetExpectedColon do
bold "body"
text "of a"
bold "get"
text "and it's"
text "and its"
bold "return type"
text "must be separated by a colon."
end
Expand Down
2 changes: 1 addition & 1 deletion src/messages/get_type_mismatch.cr
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ message GetTypeMismatch do
title "Type Error"

block do
text "The return type of a get does not match it's type definition."
text "The return type of a get does not match its type definition."
end

was_expecting_type expected, got
Expand Down
2 changes: 1 addition & 1 deletion src/messages/inline_function_type_mismatch.cr
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ message InlineFunctionTypeMismatch do
title "Type Error"

block do
text "The return type of an anonymous function does not match it's type definition."
text "The return type of an anonymous function does not match its type definition."
end

was_expecting_type expected, got
Expand Down
2 changes: 1 addition & 1 deletion src/messages/use_subscription_mismatch.cr
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ message UseSubscriptionMismatch do
title "Type Error"

block do
text "The subsctipion of a provider does not match it's definition."
text "The subsctipion of a provider does not match its definition."
end

was_expecting_type expected, got
Expand Down

0 comments on commit 21a79bb

Please sign in to comment.