Skip to content

Commit

Permalink
he -> the
Browse files Browse the repository at this point in the history
Co-Authored-By: Gilles Peiffer <gilles.peiffer@outlook.com>
  • Loading branch information
blegat and Peiffap committed Oct 15, 2019
1 parent fd1f21e commit a956461
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/interface.jl
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ mutability(x, op, args...) = mutability(typeof(x), op, typeof.(args)...)
mutability(::Type) = NotMutable()

function mutable_operate_to_fallback(::NotMutable, output, op::Function, args...)
throw(ArgumentError("Cannot call `mutable_operate_to!($output, $op, $(args...))` as `$output` cannot be modifed to equal the result of the operation. Use `operate!` or `operate_to!` instead which returns the value of he result (possibly modifying the first argument) to write generic code that also works when the type cannot be modified."))
throw(ArgumentError("Cannot call `mutable_operate_to!($output, $op, $(args...))` as `$output` cannot be modifed to equal the result of the operation. Use `operate!` or `operate_to!` instead which returns the value of the result (possibly modifying the first argument) to write generic code that also works when the type cannot be modified."))
end

function mutable_operate_to_fallback(::IsMutable, op::Function, args...)
Expand Down

0 comments on commit a956461

Please sign in to comment.