Skip to content

Commit

Permalink
Merge pull request #21 from itsmo1031/typo/ch14
Browse files Browse the repository at this point in the history
typo: fix ch14 typo (킄레이트 => 크레이트)
  • Loading branch information
rinthel committed May 19, 2023
2 parents 4ee9b2f + 9ad338e commit 299e5f8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/ch14-02-publishing-to-crates-io.md
Original file line number Diff line number Diff line change
Expand Up @@ -426,7 +426,7 @@ $ cargo publish

### `cargo yank`로 Crates.io에서 버전 사용하지 않게 하기

킄레이트의 이전 버전을 제거할 수는 없지만, 향후의 프로젝트들이 이를 새로운
크레이트의 이전 버전을 제거할 수는 없지만, 향후의 프로젝트들이 이를 새로운
의존성으로 추가하는 것을 방지할 수는 있습니다. 이는 어떤 크레이트 버전이
어떤 이유에서인가 깨졌을 때 유용합니다. 그런 상황에서 카고는
어떤 크레이트 버전의 *끌어내기 (yanking)* 를 지원합니다.
Expand Down
6 changes: 3 additions & 3 deletions src/ch14-03-cargo-workspaces.md
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ $ cargo new add_one --lib
카고는 작업 공간 내의 크레이트들이 서로 의존할 것이라고 가정하지 않으므로,
의존성 관계에 대해 명시할 필요가 있습니다.

다음으로 `adder` 킄레이트에서 (`add_one` 크레이트에 있는) `add_one` 함수를
다음으로 `adder` 크레이트에서 (`add_one` 크레이트에 있는) `add_one` 함수를
사용해봅시다. *adder/src/main.rs* 파일을 열어서 제일 윗 줄에 `use`을 추가하여
스코프로 새로운 `add_one` 라이브러리를 가져옵시다. 그런 다음 Listing 14-7과
같이 `main` 함수를 수정하여 `add_one` 함수를 호출하세요.
Expand Down Expand Up @@ -196,7 +196,7 @@ Hello, world! 10 plus one is 11!
작업공간 내 모든 크레이트가 동일한 의존성을 사용하도록 만드는 것은
이 크레이트들이 항상 서로 호환될 것임을 뜻합니다. **add_one/Cargo.toml*
파일의 `[dependencies]` 절에 `rand` 크레이트를 추가하여 `add_one`
킄레이트에서 `rand` 크레이트를 사용해봅시다:
크레이트에서 `rand` 크레이트를 사용해봅시다:

<!-- When updating the version of `rand` used, also update the version of
`rand` used in these files so they all match:
Expand Down Expand Up @@ -357,7 +357,7 @@ test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; fini
작업공간의 크레이트를 [crates.io](https://crates.io/)에 배포한다면,
작업공간 내 각 크레이트를 별도로 배포할 필요가 있습니다. `cargo test`처럼
`-p` 플래그와 배포하고자 하는 크레이트의 이름을 지정하여 작업공간 내의
특정 킄레이트를 배포할 수 있습니다.
특정 크레이트를 배포할 수 있습니다.

추가 연습으로 `add_one` 크레이트와 비슷한 방식으로 이 작업공간에 `add_two`
크레이트를 추가하세요!
Expand Down

0 comments on commit 299e5f8

Please sign in to comment.