小编Liu*_*jie的帖子

在libcurl中不支持或禁用cygwin git"Protocol"https"

我在Windows 7下使用cygwin.一切都很好,直到有一天我发现我不能使用git来克隆github repos,它说"协议"https"在libcurl中不支持或禁用".但当我输入"curl --version"时,它说

curl 7.39.0(x86_64-unknown-cygwin)libcurl/7.39.0 OpenSSL/1.0.1k zlib/1.2.8 libidn/1.29 libssh2/1.4.2协议:dict文件ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp功能:调试IDN IPv6大文件GSS-API SPNEGO NTLM NTLM_WB SSL libz TLS-SRP Metalink

我认为这意味着curl支持https.谁能帮我?提前致谢.

git github

10
推荐指数
1
解决办法
5675
查看次数

这段scala代码有什么问题?

我有以下无法编译的代码片段:

val cids = List(1, 2, 3, 4)
val b = Map.newBuilder[Int, Int]
for (c <- cids) {
  b += (c, c*2)
}
b.result()
Run Code Online (Sandbox Code Playgroud)

编译器报告

console>:11: error: type mismatch;
 found   : Int
 required: (Int, Int)
               b += (c, c*2)
Run Code Online (Sandbox Code Playgroud)

我不知道这是什么错误.

scala

1
推荐指数
2
解决办法
89
查看次数

标签 统计

git ×1

github ×1

scala ×1