File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -972,7 +972,7 @@ defmodule Kernel do
972972  comparison"](#module-structural-comparison) section 
973973  for more information. 
974974
975-   Inlined by the compiler. 
975+   Allowed in guard tests.  Inlined by the compiler. 
976976
977977  ## Examples 
978978
@@ -982,6 +982,7 @@ defmodule Kernel do
982982      "b" 
983983
984984  """ 
985+   @ doc  guard:  true 
985986  @ spec  max ( first ,  second )  ::  first  |  second  when  first:  term ,  second:  term 
986987  def  max ( first ,  second )  do 
987988    :erlang . max ( first ,  second ) 
@@ -998,7 +999,7 @@ defmodule Kernel do
998999  comparison"](#module-structural-comparison) section 
9991000  for more information. 
10001001
1001-   Inlined by the compiler. 
1002+   Allowed in guard tests.  Inlined by the compiler. 
10021003
10031004  ## Examples 
10041005
@@ -1008,6 +1009,7 @@ defmodule Kernel do
10081009      "bar" 
10091010
10101011  """ 
1012+   @ doc  guard:  true 
10111013  @ spec  min ( first ,  second )  ::  first  |  second  when  first:  term ,  second:  term 
10121014  def  min ( first ,  second )  do 
10131015    :erlang . min ( first ,  second ) 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments