From 670a781dd75440a05d1ea62564e2ab85a038160e Mon Sep 17 00:00:00 2001 From: heibaiying <31504331+heibaiying@users.noreply.github.com> Date: Sun, 12 May 2019 23:16:22 +0800 Subject: [PATCH] =?UTF-8?q?Update=20Scala=E9=9A=90=E5=BC=8F=E8=BD=AC?= =?UTF-8?q?=E6=8D=A2=E5=92=8C=E9=9A=90=E5=BC=8F=E5=8F=82=E6=95=B0.md?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- notes/Scala隐式转换和隐式参数.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/notes/Scala隐式转换和隐式参数.md b/notes/Scala隐式转换和隐式参数.md index c95e63e..8815c5d 100644 --- a/notes/Scala隐式转换和隐式参数.md +++ b/notes/Scala隐式转换和隐式参数.md @@ -40,7 +40,7 @@ object Thor extends App { 输出: 普通人举起雷神之锤 ``` -
+ ### 1.2 隐式转换规则 @@ -117,7 +117,7 @@ A2B This is Class B ``` -
+ ### 1.3 引入隐式转换 @@ -230,7 +230,7 @@ formatted("this is context") 上面代码无法通过编译,出现错误提示`ambiguous implicit values`,即隐式值存在冲突。 -
+ ### 2.2 引入隐式参数 @@ -283,7 +283,7 @@ object ScalaApp extends App { } ``` -
+ ### 2.3 利用隐式参数进行隐式转换