Skip to content

Commit 21afb72

Browse files
iblislinararslan
authored andcommitted
doc: update pseudo code in manual/methods.md (#24771)
1 parent b15024f commit 21afb72

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/src/manual/methods.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -717,7 +717,7 @@ function matmul(a::AbstractMatrix, b::AbstractMatrix)
717717

718718
# this is wrong, since depending on the return value
719719
# of type-inference is very brittle (as well as not being optimizable):
720-
# R = return_types(op, (eltype(a), eltype(b)))
720+
# R = Base.return_types(op, (eltype(a), eltype(b)))
721721

722722
## but, finally, this works:
723723
R = promote_op(op, eltype(a), eltype(b))

0 commit comments

Comments
 (0)